Skip to content

Commit

Permalink
ci: add restore-keys
Browse files Browse the repository at this point in the history
  • Loading branch information
lishaduck committed Oct 31, 2024
1 parent e07cf10 commit a83c739
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,17 @@ jobs:
with:
path: ~/.elm
key: elm-${{ runner.os }}-${{ hashFiles('**/elm.json', 'elm-tooling.json') }}
restore-keys: |
elm-${{ runner.os }}-
- name: Cache node_modules
id: cache-node_modules
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: node_modules
key: node_modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
node_modules-${{ runner.os }}-
- name: Cache turbo build setup
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
Expand All @@ -88,7 +92,7 @@ jobs:
- name: Install turbo
run: npm install -g turbo

- name: Test nodejs version requirements
- name: Test Node.js version requirements
run: turbo run check-engines

- name: Run tests
Expand Down

0 comments on commit a83c739

Please sign in to comment.