Skip to content

Commit

Permalink
cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Zurab committed Feb 1, 2023
1 parent cdeae70 commit 98c7f81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ jobs:
uses: nrwl/nx-set-shas@v2

- name: Cache dependencies
uses: actions/cache@v2
id: cache
uses: actions/cache@v3
with:
path: ~/.npm
path: ./node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('package-lock.json') }}

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci --ignore-scripts

- run: npx nx workspace-lint
Expand Down

0 comments on commit 98c7f81

Please sign in to comment.