From a48983b1697e746d20bc53d49a602b8505005e2c Mon Sep 17 00:00:00 2001 From: marlin dalpozzo Date: Tue, 4 Jun 2024 18:05:37 -0700 Subject: [PATCH] chore: bump node to v20 in github actions --- .github/workflows/prerelease.yml | 4 ++-- .github/workflows/release-please.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index d07b4befe..a86de59d0 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Use Node.js 16 + - name: Use Node.js 20 uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 20 - run: yarn install --immutable - run: yarn dist - run: npm version prerelease --preid=$GITHUB_HEAD_REF-`git rev-parse --short HEAD` --git-tag-version=false --commit-hooks=false diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 4ddb4def4..2c6ce482c 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 20 - uses: google-github-actions/release-please-action@v3 id: release-please with: @@ -51,7 +51,7 @@ jobs: if: ${{ steps.release.outputs.release_created }} - uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 20 if: ${{ steps.release.outputs.release_created }} - run: yarn install --immutable if: ${{ steps.release.outputs.release_created }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4295eb8cd..ddd67be80 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,10 +15,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Use Node.js 16 + - name: Use Node.js 20 uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 20 - run: yarn install --immutable - run: yarn lint - run: yarn format