diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c58e37a..8f293d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,17 +22,17 @@ jobs: node-version: ${{ matrix.node-version }} cache: npm - # - name: Check npm audit - # run: npm audit --production --audit-level=low + - name: Check npm audit + run: npm audit --production --audit-level=low - name: Install Dependencies run: npm ci - # - name: Check code style - # run: npm run lint + - name: Check code style + run: npm run lint - # - name: Run unit tests - # run: npm test + - name: Run unit tests + run: npm test - name: Build Package run: npm run package:lib @@ -80,11 +80,6 @@ jobs: npm run update:adapter 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 run: | replace-in-files --regex='"sasjsTestsUrl".*' --replacement='"sasjsTestsUrl":"http://localhost:3000",' ./cypress.json