Skip to content

Commit

Permalink
ci: run test against more Node.js version
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Oct 6, 2024
1 parent 2aff0c9 commit 8d8f3cf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,23 @@ on:
jobs:
test:
name: Lint & Test
strategy:
matrix:
node-version: [16, 18, 20, 22]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: ${{ matrix.node-version }}
check-latest: true
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install -g npm && npm install
run: npm install
- name: Lint
if: matrix.node-version == 22
run: npm run lint
- name: Test
run: npm run test
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.12.0

- The minimum required version has been bumped from 12 to 16.
- Now when TypeScript 5 is detected in your projects will `rollup-plugin-swc3` enable decorators by default (with decorator version `2022-03`), otherwise it is depended by `experimentalDecorators` from `tsconfig.json` (and decorator version `2021-12` will be used). See [#65](https://github.com/SukkaW/rollup-plugin-swc/pull/65/)

## 0.11.2

- New feature `viteMinify` to use swc's minification in Vite.
Expand Down

0 comments on commit 8d8f3cf

Please sign in to comment.