Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
holmityd committed Jun 13, 2024
1 parent 9b1cdce commit a4f2abc
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,21 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: pnpm/[email protected]

- 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: |
Expand All @@ -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
Expand Down

0 comments on commit a4f2abc

Please sign in to comment.