From b62aedd410f44fa0396ed8f625b4c257a19f8f63 Mon Sep 17 00:00:00 2001 From: D N <4661784+retyui@users.noreply.github.com> Date: Mon, 26 Feb 2024 19:57:42 +0100 Subject: [PATCH] chore: update actions to latest versions - Please update the following actions to use Node.js 20:actions/checkout@v2,actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3. - For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. --- .github/workflows/check.yml | 8 ++++---- .github/workflows/main.yml | 2 +- .github/workflows/release.yml | 8 ++++---- .github/workflows/site-deploy.yml | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 1cd88a65a..5cb3adadb 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -25,9 +25,9 @@ jobs: node-version: 20.x steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v3 with: version: 8 run_install: false @@ -39,7 +39,7 @@ jobs: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - name: Setup pnpm cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('./pnpm-lock.yaml') }} @@ -47,7 +47,7 @@ jobs: ${{ runner.os }}-pnpm-store- - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b2b11fd59..4cb14e0d2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: name: label issues and pull requests steps: - name: check-out-repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: labeler uses: jayu/super-labeler-action@develop diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee6eb44dd..68bba1646 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,9 @@ jobs: steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v3 with: version: 8 run_install: false @@ -32,7 +32,7 @@ jobs: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - name: Setup pnpm cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('./pnpm-lock.yaml') }} @@ -40,7 +40,7 @@ jobs: ${{ runner.os }}-pnpm-store- - name: Setup Node.js 20.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.x diff --git a/.github/workflows/site-deploy.yml b/.github/workflows/site-deploy.yml index 2feae29ad..0bbbec636 100644 --- a/.github/workflows/site-deploy.yml +++ b/.github/workflows/site-deploy.yml @@ -12,9 +12,9 @@ jobs: TURBO_TEAM: ${{ secrets.TURBO_TEAM }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v3 with: version: 8 run_install: false @@ -26,7 +26,7 @@ jobs: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - name: Setup pnpm cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('./pnpm-lock.yaml') }} @@ -34,7 +34,7 @@ jobs: ${{ runner.os }}-pnpm-store- - name: Use Node.js 20.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.x