fix: add actions/setup-node in publish
This commit is contained in:
parent
aa97328fb0
commit
29ab277d3f
|
@ -21,7 +21,7 @@ jobs:
|
|||
with:
|
||||
type: tar
|
||||
filename: build.tar.gz
|
||||
exclusions: "*.git* build.tar.gz"
|
||||
exclusions: "*.git* build.tar.gz node_cache/**"
|
||||
- name: Cache build
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
@ -32,6 +32,11 @@ jobs:
|
|||
needs: build
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.x
|
||||
cache: 'npm'
|
||||
- name: Fetch build cache
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue