Skip to content

Commit

Permalink
feat!: requires node ^18.18.0 || ^20.9.0 || >=21.1.0 (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add authored Apr 10, 2024
1 parent 7eddd87 commit df1b606
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: lts/*

- name: Install Packages
run: npm install
Expand All @@ -30,21 +30,21 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [12.22.0, 12, 14, 16, 18, 20]
node: [18.18.0, 18.x, 20.x, 21.x]
include:
- os: windows-latest
node: 18
node: lts/*
- os: macOS-latest
node: 18
node: lts/*
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"prettier": "^2.6.2",
"semantic-release": "^19.0.2",
"yorkie": "^2.0.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}
}

0 comments on commit df1b606

Please sign in to comment.