From 398d7edfb130ad2d4e076a573724f435ea87cea6 Mon Sep 17 00:00:00 2001 From: Quinn J Neumiiller Date: Thu, 15 Sep 2022 01:36:58 -0700 Subject: [PATCH] Use node16 (#216) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Use node16 in actions * fixup! Use node16 in actions * remove `engines.npm` Co-authored-by: Mateusz BurzyƄski --- .github/workflows/ci.yml | 4 ++-- .github/workflows/version-or-publish.yml | 4 ++-- action.yml | 2 +- package.json | 3 +++ 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbe8c1cd..3e82b459 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/version-or-publish.yml b/.github/workflows/version-or-publish.yml index 47189869..ee3662a1 100644 --- a/.github/workflows/version-or-publish.yml +++ b/.github/workflows/version-or-publish.yml @@ -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 diff --git a/action.yml b/action.yml index c9ca1b68..36dfeafb 100644 --- a/action.yml +++ b/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: diff --git a/package.json b/package.json index 3dfcadc0..8604c36c 100644 --- a/package.json +++ b/package.json @@ -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",