From cb63b1c12a6c32d49cc613469950581413b29245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederico=20Fraz=C3=A3o?= Date: Fri, 14 Oct 2022 19:00:00 +0100 Subject: [PATCH] fix: use Node 16 as runner (#531) --- .github/workflows/test.yml | 28 ++++++++++++++++++++++++++++ action.yml | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2453ef7b..802feda4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,6 +16,10 @@ jobs: - uses: actions/checkout@v3 with: persist-credentials: false + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: npm - run: date > test.txt - run: npm ci - run: npm run build @@ -42,6 +46,10 @@ jobs: - uses: actions/checkout@v3 with: persist-credentials: false + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: npm - run: date > test.txt - run: npm ci - run: npm run build @@ -80,6 +88,10 @@ jobs: - uses: actions/checkout@v3 with: persist-credentials: false + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: npm - run: date > file1.txt - run: date > file2.txt - run: npm ci @@ -137,6 +149,10 @@ jobs: - uses: actions/checkout@v3 with: persist-credentials: false + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: npm - run: date > test.txt - run: npm ci - run: npm run build @@ -162,6 +178,10 @@ jobs: - uses: actions/checkout@v3 with: persist-credentials: false + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: npm - run: date > .github/test.txt - run: npm ci - run: npm run build @@ -178,6 +198,10 @@ jobs: - uses: actions/checkout@v3 with: persist-credentials: false + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: npm - run: date > test.txt - run: npm ci - run: npm run build @@ -243,6 +267,10 @@ jobs: - uses: actions/checkout@v3 with: persist-credentials: false + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: npm - run: date > test.txt - run: npm ci - run: npm run build diff --git a/action.yml b/action.yml index 18c2e3e0..fd27d463 100644 --- a/action.yml +++ b/action.yml @@ -57,5 +57,5 @@ outputs: description: "'updated', 'created', 'unchanged' based if the PR was created, updated or nothing happened" runs: - using: "node12" + using: "node16" main: "dist/index.js"