1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-18 17:40:06 +00:00

chore: reverted dev changes to build.yml

This commit is contained in:
Yury Shkoda
2023-06-23 17:52:46 +03:00
parent 275cd6dbd3
commit 5c589a6af3

View File

@@ -22,17 +22,17 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
# - name: Check npm audit - name: Check npm audit
# run: npm audit --production --audit-level=low run: npm audit --production --audit-level=low
- name: Install Dependencies - name: Install Dependencies
run: npm ci run: npm ci
# - name: Check code style - name: Check code style
# run: npm run lint run: npm run lint
# - name: Run unit tests - name: Run unit tests
# run: npm test run: npm test
- name: Build Package - name: Build Package
run: npm run package:lib run: npm run package:lib
@@ -80,11 +80,6 @@ jobs:
npm run update:adapter npm run update:adapter
pm2 start --name sasjs-test npm -- start pm2 start --name sasjs-test npm -- start
# - name: Sleep for 10 seconds
# uses: jakejarvis/wait-action@master
# with:
# time: '10s'
- name: Run cypress on sasjs - name: Run cypress on sasjs
run: | run: |
replace-in-files --regex='"sasjsTestsUrl".*' --replacement='"sasjsTestsUrl":"http://localhost:3000",' ./cypress.json replace-in-files --regex='"sasjsTestsUrl".*' --replacement='"sasjsTestsUrl":"http://localhost:3000",' ./cypress.json