Skip to content

Commit

Permalink
feat: support rollup 4 (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
bershanskiy committed Oct 21, 2023
1 parent 4546aa3 commit e71a575
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 11 deletions.
29 changes: 28 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,42 @@ on:
pull_request:
branches:
- main
workflow_dispatch:
inputs:
node:
description: 'Node version'
required: true
default: 14.x
type: choice
options:
- 14.x
- 16.x
- 18.x
- 20.x
rollup:
description: 'Rollup version'
required: true
default: ^4
type: choice
options:
- ^1
- ^2
- ^3
- ^4

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [16.x, 18.x, 20.x]
rollup-version: [^1, ^2, ^3]
include:
- node-version: 18.x
rollup-version: ^4
- node-version: 20.x
rollup-version: ^4

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
"eslint-config-prettier": "^8.5.0",
"mocha": "^10.1.0",
"prettier": "2.7.1",
"rollup": "^3.2.5"
"rollup": "^4.0.2"
},
"peerDependencies": {
"rollup": "^1.20.0||^2.0.0||^3.0.0"
"rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
},
"peerDependenciesMeta": {
"rollup": {
Expand Down
112 changes: 104 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e71a575

Please sign in to comment.