Skip to content

Commit

Permalink
ci: update actions/cache
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Jul 23, 2024
1 parent 437468e commit b1a1575
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Cache node_modules
id: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
uses: actions/checkout@master

- name: Retrieve node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
Expand All @@ -66,7 +66,7 @@ jobs:
run: npm run build

- name: Coverage
if: matrix.os == 'ubuntu-latest' && matrix.node == 16
if: matrix.os == 'ubuntu-latest' && matrix.node == 22
uses: codecov/codecov-action@v3

types:
Expand All @@ -92,7 +92,7 @@ jobs:
uses: actions/checkout@master

- name: Retrieve node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
uses: actions/checkout@master

- name: Retrieve node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
Expand Down

0 comments on commit b1a1575

Please sign in to comment.