Skip to content

Commit

Permalink
add cache dependency path
Browse files Browse the repository at this point in the history
  • Loading branch information
SydZero committed Oct 16, 2024
1 parent d49f5fe commit 991e124
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/npm_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ jobs:
- uses: actions/checkout@v3

- name: List directory after checkout
run: ls -R
run: ls

# Set up Node.js
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ./frontend/package-lock.json

- run: npm ci
working-directory: ./chemistry-cafe/frontend
Expand Down

0 comments on commit 991e124

Please sign in to comment.