fix: add actions/setup-node in publish

This commit is contained in:
Derrick Hammer 2023-06-25 03:12:21 -04:00
parent aa97328fb0
commit 29ab277d3f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 6 additions and 1 deletions

View File

@ -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: