Update .gitea/workflows/build.yml
This commit is contained in:
parent
28b80cbc94
commit
d0fa2c6490
@ -17,7 +17,7 @@ jobs:
|
|||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ hashFile('package-lock.json') }}
|
key: ${{ hashFiles('**/package-lock.json') }}
|
||||||
Build_Node:
|
Build_Node:
|
||||||
runs-on: Docker
|
runs-on: Docker
|
||||||
container:
|
container:
|
||||||
@ -27,6 +27,6 @@ jobs:
|
|||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v3
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ hashFile('package-lock.json') }}
|
key: ${{ hashFiles('**/package-lock.json') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
Loading…
Reference in New Issue
Block a user