forked from forgejo/forgejo
[RELEASE] cache node_modules
This commit is contained in:
parent
aef5f44169
commit
004b772b5c
4 changed files with 14 additions and 3 deletions
|
@ -82,6 +82,18 @@ jobs:
|
|||
ENDVAR
|
||||
EOF
|
||||
|
||||
- name: cache node_modules
|
||||
id: node
|
||||
uses: https://code.forgejo.org/actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
node_modules
|
||||
key: node-${{ steps.release-info.outputs.version }}
|
||||
|
||||
- name: skip if node cache hit
|
||||
if: steps.node.outputs.cache-hit != 'true'
|
||||
run: echo no hit
|
||||
|
||||
- name: Build sources
|
||||
run: |
|
||||
set -x
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue