Skip to content

Commit

Permalink
Update nodejs-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanjainn authored Nov 1, 2023
1 parent 78055e1 commit 79db0bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nodejs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@ jobs:
files: node/**

- name: Setup Node.js ${{ matrix.node-version }}
if: steps.changed-files-specific.outputs.any_changed == 'true' or github.event.schedule == '*/180 * * * *'
if: steps.changed-files-specific.outputs.any_changed == 'true' || github.event.schedule == '*/180 * * * *'
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: node/package-lock.json

- name: NPM CI
if: steps.changed-files-specific.outputs.any_changed == 'true' or github.event.schedule == '*/180 * * * *'
if: steps.changed-files-specific.outputs.any_changed == 'true' || github.event.schedule == '*/180 * * * *'
run: npm ci

- name: NPM build
if: steps.changed-files-specific.outputs.any_changed == 'true' or github.event.schedule == '*/180 * * * *'
if: steps.changed-files-specific.outputs.any_changed == 'true' || github.event.schedule == '*/180 * * * *'
run: npm run build --if-present

- name: NPM Test
if: steps.changed-files-specific.outputs.any_changed == 'true' or github.event.schedule == '*/180 * * * *'
if: steps.changed-files-specific.outputs.any_changed == 'true' || github.event.schedule == '*/180 * * * *'
run: npm test

0 comments on commit 79db0bb

Please sign in to comment.