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