From d55749cc29f61465921453bf672008cf334c4dd0 Mon Sep 17 00:00:00 2001 From: Henry Gabryjelski Date: Thu, 20 Oct 2022 20:03:19 -0700 Subject: [PATCH 1/2] update to node16 (node12 support deprecated) See https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Every user of this action is now getting warnings (not yet errors). **_IMPORTANT_** - this change hasn't been tested. this is because I'm not sure how I would do so. given the trivial nature, it's likely the repo's built-in self-tests should give a pass/fail.... --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 707525d..11e2b41 100644 --- a/action.yml +++ b/action.yml @@ -10,7 +10,7 @@ inputs: required: false default: ${{ github.token }} runs: - using: "node12" + using: "node16" main: "dist/index.js" branding: icon: "box" From cfc67a88fdc0e08eb2cb5efd689d7274607d84e4 Mon Sep 17 00:00:00 2001 From: Henry Gabryjelski Date: Fri, 21 Oct 2022 12:21:16 -0700 Subject: [PATCH 2/2] first step to update tests to node16 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef331eb..89b65f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,10 +17,10 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set Node.js 10.x + - name: Set Node.js 16.x uses: actions/setup-node@v3 with: - node-version: 10.x + node-version: 16.x - name: npm install run: npm install