Skip to content

Commit 284410c

Browse files
committed
Update the GitHub Action CI workflow.
1 parent 1cf3d56 commit 284410c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: CI
2-
on: [push, pull_request]
2+
on: [push, workflow_dispatch]
33
jobs:
44
test:
55
name: Test with Node.js v${{ matrix.node }} and ${{ matrix.os }}
@@ -9,9 +9,9 @@ jobs:
99
os: [ubuntu-latest, macos-latest]
1010
node: ["18", "20", "22"]
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
- name: Setup Node.js v${{ matrix.node }}
14-
uses: actions/setup-node@v3
14+
uses: actions/setup-node@v4
1515
with:
1616
node-version: ${{ matrix.node }}
1717
- name: npm install and test

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@
3737
- Tweaked the package description.
3838
- Updated the `package.json` field `repository` to conform to new npm requirements.
3939
- Updated GitHub Actions CI config:
40+
- No longer run the workflow on pull request.
41+
- Enable manual workflow dispatching.
4042
- Updated the tested Node.js versions to v18, v20, v22.
43+
- Updated `actions/checkout` to v4.
44+
- Updated `actions/setup-node` to v4.
4145
- Migrated to the ESLint v9 CLI and “flat” config.
4246
- Integrated a new dev dependency [`eslint-plugin-jsdoc`](https://npm.im/eslint-plugin-jsdoc) and revised types.
4347
- Removed the Node.js CLI option `--unhandled-rejections=throw` in the package script `tests` as it’s now the default for all supported Node.js versions.

0 commit comments

Comments
 (0)