-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,10 @@ jobs: | |
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 20.11.0 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
|
@@ -33,8 +37,8 @@ jobs: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SIGN: false | ||
run: | | ||
yarn install --network-timeout 1000000 | ||
yarn electron:build --publish="never" | ||
pnpm install | ||
pnpm build --publish="never" | ||
- name: Upload artifact | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,11 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
node-version: '20.11.0' | ||
- run: yarn install --network-timeout 1000000 | ||
- run: yarn lint:check | ||
- run: yarn test | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
|
||
- run: pnpm install | ||
- run: pnpm lint:check | ||
- run: pnpm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,10 @@ jobs: | |
with: | ||
node-version: 20.11.0 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
|
||
- name: Build & release Electron app | ||
shell: bash | ||
env: | ||
|
@@ -39,12 +43,12 @@ jobs: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SIGN: true | ||
run: | | ||
yarn install --network-timeout 1000000 | ||
yarn electron:build --publish="always" | ||
pnpm install | ||
pnpm build | ||
- name: Upload artifact | ||
uses: actions/[email protected] | ||
with: | ||
# Artifact name | ||
name: ${{ matrix.os }}-artifact | ||
# Directory containing files to upload | ||
path: dist_electron | ||
path: release/**/* |