generated from electron-react-boilerplate/electron-react-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
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
4 changed files
with
48 additions
and
70 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Build, test, and release | ||
|
||
on: push | ||
|
||
concurrency: | ||
group: build-test-release | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
uses: ./.github/workflows/checkout-install.yml | ||
steps: | ||
- name: Run tests | ||
run: | | ||
npm run package | ||
npm run lint | ||
npm exec tsc | ||
npm test | ||
build-and-release: | ||
needs: test | ||
uses: ./.github/workflows/checkout-install.yml | ||
steps: | ||
- name: Build and release the app | ||
env: | ||
GH_TOKEN: ${{ secrets.github_token }} | ||
run: npm run package:publish |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Common steps workflow | ||
|
||
jobs: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [windows-latest] | ||
|
||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Node.js and npm | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: npm | ||
|
||
- name: Install dependencies | ||
run: npm install |
This file was deleted.
Oops, something went wrong.