From 01043dbd2af12149bc4e4f033593f55007eb841a Mon Sep 17 00:00:00 2001 From: bangbang93 Date: Fri, 2 Feb 2024 15:43:50 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20release=E7=BB=99=E4=B8=AAcache?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80e3f05..ef75bac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,11 @@ jobs: runs-on: "ubuntu-latest" steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: '20' + cache: 'npm' - run: npm ci - run: npm run build - run: tar -czvf openbmclapi-${{ matrix.os }}.tar.gz dist nginx package.json node_modules