Skip to content

Commit 398d7ed

Browse files
quinnjnAndarist
andauthored
Use node16 (#216)
* Use node16 in actions * fixup! Use node16 in actions * remove `engines.npm` Co-authored-by: Mateusz Burzyński <[email protected]>
1 parent 8c3f5f5 commit 398d7ed

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
- name: Checkout Repo
1313
uses: actions/checkout@v2
1414

15-
- name: Use Node.js 14
15+
- name: Use Node.js 16
1616
uses: actions/setup-node@v1
1717
with:
18-
node-version: 14.x
18+
node-version: 16.x
1919

2020
- name: Install Dependencies
2121
run: yarn --frozen-lockfile

.github/workflows/version-or-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
- name: Checkout Repo
1515
uses: actions/checkout@v2
1616

17-
- name: Use Node.js 14
17+
- name: Use Node.js 16
1818
uses: actions/setup-node@v1
1919
with:
20-
node-version: 14.x
20+
node-version: 16.x
2121

2222
- name: Install Dependencies
2323
run: yarn --frozen-lockfile

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Changesets
22
description: A GitHub action to automate releases with Changesets
33
runs:
4-
using: "node12"
4+
using: "node16"
55
main: "dist/index.js"
66
inputs:
77
publish:

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
"bump": "node ./scripts/bump.js",
2121
"release": "node ./scripts/release.js"
2222
},
23+
"engines": {
24+
"node": ">= 16"
25+
},
2326
"dependencies": {
2427
"@actions/core": "^1.3.0",
2528
"@actions/exec": "^1.1.0",

0 commit comments

Comments
 (0)