Skip to content

Commit

Permalink
Merge pull request #185 from technote-space/chore/chore-sync-workflows
Browse files Browse the repository at this point in the history
chore: sync workflows
  • Loading branch information
technote-space authored Oct 20, 2022
2 parents c58b942 + 03d718c commit 03aaf67
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-updated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 03aaf67

Please sign in to comment.