-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): reconfigure GHA to run tests on NW.js Node version
- Loading branch information
1 parent
5ff6477
commit 9461a86
Showing
6 changed files
with
17 additions
and
18 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: v3-cd | ||
name: v3 | ||
on: | ||
push: | ||
branches: | ||
|
@@ -14,13 +14,13 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
- name: Get Node version from Node manifest | ||
run: echo "NODE_VER=$(curl -s https://nwjs.io/versions | jq -r ".versions[0].components.node")" >> $GITHUB_ENV | ||
- name: Setup Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: "20.5.1" | ||
node-version: ${{ env.NODE_VER }} | ||
cache: "npm" | ||
- name: Enable corepack | ||
run: corepack enable | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Publish to npm | ||
|
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 |
---|---|---|
@@ -1,11 +1,8 @@ | ||
name: v3-ci | ||
name: v3 | ||
on: | ||
pull_request: | ||
branches: | ||
- v3 | ||
workflow_dispatch: | ||
branches: | ||
- v3 | ||
|
||
concurrency: | ||
group: ${{ github.ref }} | ||
|
@@ -15,20 +12,22 @@ jobs: | |
e2e: | ||
strategy: | ||
matrix: | ||
os: [macos-13, ubuntu-22.04, windows-2022] | ||
node: [16, 18, 20] | ||
os: | ||
- macos-13 | ||
- ubuntu-22.04 | ||
- windows-2022 | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
- name: Get Node version from Node manifest | ||
run: echo "NODE_VER=$(curl -s https://nwjs.io/versions | jq -r ".versions[0].components.node")" >> $GITHUB_ENV | ||
- name: Setup Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node }} | ||
node-version: ${{ env.NODE_VER }} | ||
cache: "npm" | ||
- name: Enable corepack | ||
run: corepack enable | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Check for linting errors | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
name: release-please | ||
on: | ||
push: | ||
branches: | ||
|
@@ -7,8 +8,6 @@ permissions: | |
contents: write | ||
pull-requests: write | ||
|
||
name: release-please | ||
|
||
jobs: | ||
release-please: | ||
runs-on: ubuntu-22.04 | ||
|
@@ -17,4 +16,4 @@ jobs: | |
uses: google-github-actions/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
target-branch: v3 | ||
target-branch: v3 |
File renamed without changes.
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
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 |
---|---|---|
|
@@ -78,5 +78,5 @@ | |
"winston": "^3.11.0", | ||
"yargs": "^17.7.2" | ||
}, | ||
"packageManager": "npm@9.8.1" | ||
"packageManager": "npm@10.5.2" | ||
} |