-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump nodejs to version 20 (#18)
- Loading branch information
Showing
6 changed files
with
85 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
branches: | ||
- master | ||
pull_request: | ||
merge_group: | ||
|
||
jobs: | ||
check-dist: | ||
|
@@ -13,11 +14,11 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/[email protected] | ||
- name: Set Node.js 16.x | ||
- name: Set Node.js | ||
uses: actions/[email protected] | ||
with: | ||
cache: 'pnpm' | ||
node-version: 16.x | ||
node-version: 20.x | ||
- name: Install dependencies | ||
run: pnpm install | ||
- name: Rebuild the dist/ directory | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,18 +5,19 @@ on: | |
branches: | ||
- master | ||
pull_request: | ||
merge_group: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/[email protected] | ||
- name: Set Node.js 16.x | ||
- name: Set Node.js | ||
uses: actions/[email protected] | ||
with: | ||
cache: 'pnpm' | ||
node-version: 16.x | ||
node-version: 20.x | ||
- run: pnpm install | ||
- run: pnpm build | ||
- run: pnpm lint | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,18 +5,19 @@ on: | |
branches: | ||
- master | ||
pull_request: | ||
merge_group: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/[email protected] | ||
- name: Set Node.js 16.x | ||
- name: Set Node.js | ||
uses: actions/[email protected] | ||
with: | ||
cache: 'pnpm' | ||
node-version: 16.x | ||
node-version: 20.x | ||
- run: pnpm install | ||
- run: pnpm build | ||
- run: pnpm lint | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
"main": "lib/main.js", | ||
"type": "module", | ||
"engines": { | ||
"node": ">=16.0", | ||
"node": ">=20.0", | ||
"pnpm": ">=8.1.0" | ||
}, | ||
"packageManager": "[email protected]", | ||
|