From a4f2abc8d1167a750c427de78df950477db57e4f Mon Sep 17 00:00:00 2001 From: holmityd Date: Thu, 13 Jun 2024 16:36:42 +0400 Subject: [PATCH] ci: test --- .github/workflows/build-and-release.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 90dbcbf..c52bc73 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -14,18 +14,21 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4.0.0 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: "20" + node-version: 20 + cache: pnpm - name: Install dependencies - run: npm install + run: pnpm install - name: Build project - run: npm run build + run: pnpm run build - name: Prepare release artifacts run: | @@ -35,7 +38,7 @@ jobs: cp deploy-assets/run.bat dist/release/run.bat cp deploy-assets/run.sh dist/release/run.sh cd dist/release - tar -czvf ../release.tar.gz * + tar -czvf ../release.tar.gz ./* - name: Create GitHub Release id: create_release