Skip to content

Commit

Permalink
ci: bump github actions
Browse files Browse the repository at this point in the history
1. set version of node.js 20.15.1
2. bump the followings
- tj-actions/changed-files
- actions/checkout
- peter-evans/create-pull-request

Ref: Magickbase/neuron-public-issues#366
  • Loading branch information
Keith-CY committed Jul 23, 2024
1 parent 2ec3ff8 commit 0dea123
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Changed Files
id: changed-files
uses: tj-actions/changed-files@v41
uses: tj-actions/changed-files@v44
with:
files: "packages/**/*.{js,cjs,mjs,jsx,ts,tsx,css,scss}"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
node:
- 18.12.0
- 20.15.1
os:
- macos-latest
- ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merge_released_into_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Request
uses: repo-sync/pull-request@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
node:
- 18.12.0
- 20.15.1
os:
- macos-latest
- ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package_for_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
node:
- 18.12.0
- 20.15.1
os:
- macos-latest
- ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
node:
- 20.11.1
- 20.15.1
os:
- macos-latest
- ubuntu-20.04
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update_ckb_client_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.15.1

- name: Update versions
id: update_versions
Expand All @@ -37,7 +37,7 @@ jobs:
git_commit_gpgsign: true

- name: Open PR to develop branch
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
title: Update ckb client versions
commit-message: 'feat: update ckb client versions'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update_neuron_compatible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 20.15.1

- name: Update versions
id: update_versions
Expand All @@ -40,11 +40,11 @@ jobs:
git_commit_gpgsign: true

- name: Open PR to RC branch
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
title: Update Neuron compatibility table
commit-message: 'feat: Update Neuron compatibility table'
body: 'Update Neuron compatibility table for a new release'
committer: Chen Yu <[email protected]>
branch: update-neuron-compatible
committer: Chen Yu <[email protected]>
base: ${{ github.ref_name }}
12 changes: 6 additions & 6 deletions .github/workflows/update_wallet_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ jobs:
contents: write # update version files
if: ${{ startsWith(github.ref_name, 'rc/') }}
steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.15.1

- name: Create Branch
uses: peterjgrainger/action-create-branch@v2.4.0
uses: peterjgrainger/action-create-branch@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -25,11 +30,6 @@ jobs:
uses: actions/checkout@v4
with:
ref: 'chore-update-wallet-env/${{github.ref_name}}'

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18.12.0

- name: Write env file
run: |
Expand Down

1 comment on commit 0dea123

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 10055730685

Please sign in to comment.