Skip to content

Commit

Permalink
CI: Add cache to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Mintoo200 committed Mar 14, 2024
1 parent fff2466 commit 59b2da6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
# TODO: add version to a .nvmrc or at least a variable
node-version: 18.12.1
cache: npm
- name: Cache node modules
uses: actions/cache@v3
with:
path: ./node_modules
key: ${{ hashFiles('package-lock.json') }}
- name: Install
run: npm ci
- name: Build
Expand Down

0 comments on commit 59b2da6

Please sign in to comment.