Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

chore: sync workflows #114

Merged
merged 1 commit into from
Oct 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/add-test-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
CONFIG_FILENAME: workflow-settings.json, workflow-details.json
IGNORE_WARNING: 'true'
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: technote-space/get-git-comment-action@v1
- name: Get version
uses: technote-space/get-next-version-action@v1
Expand Down
22 changes: 11 additions & 11 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: 16
cache: yarn
Expand All @@ -50,11 +50,11 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-latest, ubuntu-20.04, macos-latest]
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest, macos-latest]
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 Down Expand Up @@ -82,7 +82,7 @@ jobs:
echo "RUNNING=" >> $GITHUB_ENV
fi

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
Expand Down Expand Up @@ -110,8 +110,8 @@ jobs:
timeout-minutes: 5
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
Expand All @@ -121,7 +121,7 @@ jobs:
CONFIG_FILENAME: workflow-settings.json, workflow-details.json
IGNORE_WARNING: 'true'
- name: Release GitHub Actions
uses: technote-space/release-github-actions@v7
uses: technote-space/release-github-actions@v8
with:
OUTPUT_BUILD_INFO_FILENAME: build.json
TEST_TAG_PREFIX: test/
Expand All @@ -148,7 +148,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 @@ -170,14 +170,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: 16
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: 16
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 @@ -51,7 +51,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