Update .gitea/workflows/build.yml
This commit is contained in:
parent
408a6c81ea
commit
d252956604
@ -15,8 +15,8 @@ jobs:
|
|||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
- path: node_modules
|
||||||
key: npm-${{ hashFiles('package-lock.json') }}
|
- key: npm-${{ hashFiles('package-lock.json') }}
|
||||||
Build_Node:
|
Build_Node:
|
||||||
runs-on: Docker
|
runs-on: Docker
|
||||||
container:
|
container:
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
- name: Restore Dependencies
|
- name: Restore Dependencies
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v3
|
||||||
with:
|
with:
|
||||||
ath: node_modules
|
- ath: node_modules
|
||||||
key: npm-${{ hashFiles('package-lock.json') }}
|
- key: npm-${{ hashFiles('package-lock.json') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
Loading…
Reference in New Issue
Block a user