Skip to content

Commit

Permalink
Update the GitHub Action CI workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydenseric committed Oct 8, 2024
1 parent 1cf3d56 commit 284410c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: CI
on: [push, pull_request]
on: [push, workflow_dispatch]
jobs:
test:
name: Test with Node.js v${{ matrix.node }} and ${{ matrix.os }}
Expand All @@ -9,9 +9,9 @@ jobs:
os: [ubuntu-latest, macos-latest]
node: ["18", "20", "22"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js v${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: npm install and test
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@
- Tweaked the package description.
- Updated the `package.json` field `repository` to conform to new npm requirements.
- Updated GitHub Actions CI config:
- No longer run the workflow on pull request.
- Enable manual workflow dispatching.
- Updated the tested Node.js versions to v18, v20, v22.
- Updated `actions/checkout` to v4.
- Updated `actions/setup-node` to v4.
- Migrated to the ESLint v9 CLI and “flat” config.
- Integrated a new dev dependency [`eslint-plugin-jsdoc`](https://npm.im/eslint-plugin-jsdoc) and revised types.
- 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.
Expand Down

0 comments on commit 284410c

Please sign in to comment.