Skip to content

Commit

Permalink
update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
erossignon committed Sep 3, 2023
1 parent 517ac15 commit 0c6fd08
Show file tree
Hide file tree
Showing 6 changed files with 139 additions and 281 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ jobs:
- name: Cache dependencies
uses: actions/cache/save@v3
with:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
path: |
node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json', "package-lock.json") }}
path: node_modules

build:
needs: prepare
Expand All @@ -51,7 +50,7 @@ jobs:
- name: Cache dependencies
uses: actions/cache/restore@v3
with:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json', "package-lock.json") }}
path: node_modules
- run: npm install
- run: npm run build
Expand Down Expand Up @@ -85,7 +84,7 @@ jobs:
- name: Restore dependencies
uses: actions/cache/restore@v3
with:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json', "package-lock.json") }}
path: node_modules

- name: Restore build artifacts
Expand Down Expand Up @@ -123,7 +122,7 @@ jobs:
- name: Restore dependencies
uses: actions/cache/restore@v3
with:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json', "package-lock.json") }}
path: node_modules

- name: Restore build artifacts
Expand Down Expand Up @@ -170,7 +169,7 @@ jobs:
- name: Restore dependencies
uses: actions/cache/restore@v3
with:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json', "package-lock.json") }}
path: node_modules

- name: Restore build artifacts
Expand Down
Loading

0 comments on commit 0c6fd08

Please sign in to comment.