From 29ab277d3f54cf63efc771e5f8fa8396171b862a Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 25 Jun 2023 03:12:21 -0400 Subject: [PATCH] fix: add actions/setup-node in publish --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 23acd58..ccaa064 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: