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
- peterjgrainger/action-create-branch

Ref: Magickbase/neuron-public-issues#366
  • Loading branch information
Keith-CY committed Jul 23, 2024
1 parent 2ec3ff8 commit 53f7b24
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 30 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
13 changes: 2 additions & 11 deletions .github/workflows/update_ckb_client_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,18 @@ 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
run: |
npm run update:client-versions
git add .ckb-version .ckb-light-version compatible.json
- name: Set GPG
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
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'
body: 'Update versions of builtin CKB node and light client'
committer: Chen Yu <[email protected]>
branch: update-ckb-client-versions
13 changes: 2 additions & 11 deletions .github/workflows/update_neuron_compatible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,19 @@ 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
run: |
npm run update:neuron-compatible
git add compatible.json
- name: Set GPG
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
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
base: ${{ github.ref_name }}
4 changes: 2 additions & 2 deletions .github/workflows/update_wallet_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: ${{ startsWith(github.ref_name, 'rc/') }}
steps:
- 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 @@ -29,7 +29,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18.12.0
node-version: 20.15.1

- name: Write env file
run: |
Expand Down

1 comment on commit 53f7b24

@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 10055299714

Please sign in to comment.