Skip to content

Commit e2d27ac

Browse files
committed
bump minimum node version
1 parent 7d06c88 commit e2d27ac

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/test and publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/checkout@main
99
- uses: actions/setup-node@main
1010
with:
11-
node-version: 16.9.1
11+
node-version-file: package.json
1212
- run: npm ci
1313
- run: npm run build
1414
- run: npm run format:check
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@main
2828
- uses: actions/setup-node@main
2929
with:
30-
node-version: 16.9.1
30+
node-version-file: package.json
3131
- run: echo ::set-output name=CURRENT_VERSION::$(node -p "require(\"./package.json\").version")
3232
id: current-version
3333
- if: github.ref == 'refs/heads/master'

package-lock.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,8 @@
4646
"@babel/parser": "^7.21.8",
4747
"@babel/traverse": "^7.21.5"
4848
}
49+
},
50+
"engines": {
51+
"node": ">=18.18.0"
4952
}
5053
}

0 commit comments

Comments
 (0)