From c2a2b8a53088c4efd87438d30dbd1fb1bb44f0ed Mon Sep 17 00:00:00 2001 From: technote-space Date: Tue, 1 Nov 2022 16:35:32 +0000 Subject: [PATCH] chore: sync workflows --- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/pr-updated.yml | 4 ++-- .github/workflows/update-dependencies.yml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aae4ac0b..73f63e71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Set running flag run: echo "RUNNING=1" >> $GITHUB_ENV - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: technote-space/get-git-comment-action@v1 - uses: technote-space/get-diff-action@v6 with: @@ -28,7 +28,7 @@ jobs: run: echo "RUNNING=" >> $GITHUB_ENV if: "! env.GIT_DIFF" - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: 14 cache: yarn @@ -54,7 +54,7 @@ jobs: steps: - name: Set running flag run: echo "RUNNING=1" >> $GITHUB_ENV - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: technote-space/get-git-comment-action@v1 - uses: technote-space/get-diff-action@v6 with: @@ -79,7 +79,7 @@ jobs: echo "RUNNING=" >> $GITHUB_ENV fi - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} cache: yarn @@ -119,7 +119,7 @@ jobs: fi env: NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 if: env.RUNNING - name: Check package version uses: technote-space/package-version-check-action@v1 @@ -141,14 +141,14 @@ jobs: if: env.RUNNING && matrix.target == 'gpr' - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 14 registry-url: https://registry.npmjs.org/ cache: yarn if: env.RUNNING && matrix.target == 'npm' - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 14 registry-url: https://npm.pkg.github.com diff --git a/.github/workflows/pr-updated.yml b/.github/workflows/pr-updated.yml index 8f2bdc98..ee4f5fdd 100644 --- a/.github/workflows/pr-updated.yml +++ b/.github/workflows/pr-updated.yml @@ -61,7 +61,7 @@ jobs: IGNORE_WARNING: 'true' - name: Set running flag run: echo "RUNNING=1" >> $GITHUB_ENV - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} - name: Set running flag @@ -107,7 +107,7 @@ jobs: env: NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} if: env.RUNNING diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index a2f097dc..7565af8c 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -50,7 +50,7 @@ jobs: - name: Set running flag run: echo "RUNNING2=1" >> $GITHUB_ENV if: env.RUNNING1 && steps.update_deps.outputs.result != 'succeeded' && github.event_name == 'pull_request' && github.event.action != 'closed' && startsWith(github.head_ref, 'release/') - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 if: env.RUNNING2 - name: Set running flag run: |