Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2095 from snyk/protect/smoke-tests
chore(protect): fix production test caching
  • Loading branch information
Jahed Ahmed committed Jul 19, 2021
2 parents 20b05d0 + 697f81f commit b227f78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/snyk-protect-production-smoke-tests.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v2

- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}

Expand All @@ -33,9 +33,9 @@ jobs:
id: npm7-cache
with:
path: ${{ steps.npm7-cache-dir.outputs.dir }}
key: ${{ runner.os }}-npm7-${{ hashFiles('**/package.json') }}
key: ${{ runner.os }}-${{ matrix.node_version }}-npm7-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-npm7-
${{ runner.os }}-${{ matrix.node_version }}-npm7-
- run: npx npm@7 install
- run: npx npm@7 run test:smoke -w @snyk/protect
Expand Down

0 comments on commit b227f78

Please sign in to comment.