Update .gitea/workflows/build.yml
All checks were successful
Build / Dependencies_NPM (push) Successful in 1m48s
All checks were successful
Build / Dependencies_NPM (push) Successful in 1m48s
This commit is contained in:
parent
3966342eff
commit
6860bf3c40
@ -10,20 +10,15 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Create Hash
|
||||
uses: actions/go-hashfiles@v0.0.1
|
||||
id: get-hash
|
||||
with:
|
||||
patterns: package-lock.json
|
||||
- name: Restore Cached Dependencies
|
||||
uses: actions/cache/restore@v3
|
||||
with:
|
||||
path: node_modules
|
||||
key: npm-${{ steps.get-hash.outputs.hash }}
|
||||
path: node_modules
|
||||
key: node_modules
|
||||
- name: Install Dependencies
|
||||
run: npm i
|
||||
- name: Cache Dependencies
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: node_modules
|
||||
key: npm-${{ steps.get-hash.outputs.hash }}
|
||||
path: node_modules
|
||||
key: node_modules
|
||||
|
Loading…
Reference in New Issue
Block a user