Skip to content

Commit

Permalink
Use node16 (#216)
Browse files Browse the repository at this point in the history
* Use node16 in actions

* fixup! Use node16 in actions

* remove `engines.npm`

Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
  • Loading branch information
quinnjn and Andarist committed Sep 15, 2022
1 parent 8c3f5f5 commit 398d7ed
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -12,10 +12,10 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v2

- name: Use Node.js 14
- name: Use Node.js 16
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x

- name: Install Dependencies
run: yarn --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/version-or-publish.yml
Expand Up @@ -14,10 +14,10 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v2

- name: Use Node.js 14
- name: Use Node.js 16
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x

- name: Install Dependencies
run: yarn --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion action.yml
@@ -1,7 +1,7 @@
name: Changesets
description: A GitHub action to automate releases with Changesets
runs:
using: "node12"
using: "node16"
main: "dist/index.js"
inputs:
publish:
Expand Down
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -20,6 +20,9 @@
"bump": "node ./scripts/bump.js",
"release": "node ./scripts/release.js"
},
"engines": {
"node": ">= 16"
},
"dependencies": {
"@actions/core": "^1.3.0",
"@actions/exec": "^1.1.0",
Expand Down

0 comments on commit 398d7ed

Please sign in to comment.