Skip to content

Commit 24c3b46

Browse files
committed
Update all github actions
1 parent 57fcabc commit 24c3b46

File tree

10 files changed

+23
-24
lines changed

10 files changed

+23
-24
lines changed

.github/actions/setup/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ runs:
2323
using: composite
2424
steps:
2525
- name: Setup Node.js
26-
uses: actions/setup-node@v4
26+
uses: actions/setup-node@v6
2727
if: inputs.install_dependencies == 'true'
2828
with:
29-
cache: npm
3029
node-version: ${{ inputs.node_version }}
3130
registry-url: ${{ inputs.registry_url }}
3231
- name: Setup Node.js without cache
33-
uses: actions/setup-node@v4
32+
uses: actions/setup-node@v6
3433
if: inputs.install_dependencies == 'false'
3534
with:
3635
node-version: ${{ inputs.node_version }}

.github/workflows/_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
timeout-minutes: 30
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v5
2929
- name: Setup
3030
uses: ./.github/actions/setup
3131
with:
@@ -36,7 +36,7 @@ jobs:
3636
- name: Package
3737
run: npm pack
3838
- name: Upload artifact
39-
uses: actions/upload-artifact@v4
39+
uses: actions/upload-artifact@v6
4040
with:
4141
name: build-${{ github.sha }}
4242
if-no-files-found: error

.github/workflows/_publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,22 @@ jobs:
2727
timeout-minutes: 30
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v5
3131
- name: Setup
3232
uses: ./.github/actions/setup
3333
with:
3434
install_dependencies: 'false'
3535
node_auth_token: ${{ secrets.node_auth_token }}
3636
- name: Download artifact
37-
uses: actions/download-artifact@v4
37+
uses: actions/download-artifact@v6
3838
with:
3939
name: ${{ inputs.artifact_name }}
4040
path: .
4141
- name: Get meta
4242
id: meta
4343
run: echo "tgz=$(ls *.tgz | head -n1)" >> $GITHUB_OUTPUT
4444
- name: Publish
45-
uses: JS-DevTools/npm-publish@v3
45+
uses: JS-DevTools/npm-publish@v4
4646
with:
4747
access: restricted
4848
token: ${{ secrets.registry_token }}

.github/workflows/check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
os_name: Linux
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v5
3131
- name: Setup
3232
uses: ./.github/actions/setup
3333
with:
@@ -47,7 +47,7 @@ jobs:
4747
- '24'
4848
steps:
4949
- name: Checkout
50-
uses: actions/checkout@v4
50+
uses: actions/checkout@v5
5151
- name: Setup
5252
uses: ./.github/actions/setup
5353
with:
@@ -82,7 +82,7 @@ jobs:
8282
with:
8383
node-version: ${{ matrix.node }}
8484
- name: Download artifact
85-
uses: actions/download-artifact@v4
85+
uses: actions/download-artifact@v6
8686
with:
8787
name: ${{ needs.build.outputs.artifact_name }}
8888
path: .
@@ -132,7 +132,7 @@ jobs:
132132
- '24'
133133
steps:
134134
- name: Checkout
135-
uses: actions/checkout@v4
135+
uses: actions/checkout@v5
136136
- name: Setup
137137
uses: ./.github/actions/setup
138138
with:

.github/workflows/format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
timeout-minutes: 30
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
with:
1919
ref: ${{ github.head_ref }}
2020
token: ${{ secrets.GH_TOKEN }}
@@ -34,7 +34,7 @@ jobs:
3434
- name: Format
3535
run: npm run format
3636
- name: Commit
37-
uses: stefanzweifel/git-auto-commit-action@v6
37+
uses: stefanzweifel/git-auto-commit-action@v7
3838
if: always()
3939
with:
4040
commit_message: 'ci: Format code'

.github/workflows/generate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
timeout-minutes: 30
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
with:
1919
ref: ${{ github.head_ref }}
2020
token: ${{ secrets.GH_TOKEN }}
@@ -36,7 +36,7 @@ jobs:
3636
env:
3737
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
3838
- name: Commit
39-
uses: stefanzweifel/git-auto-commit-action@v6
39+
uses: stefanzweifel/git-auto-commit-action@v7
4040
with:
4141
commit_message: 'ci: Generate code'
4242
commit_user_name: ${{ secrets.GIT_USER_NAME }}

.github/workflows/makenew.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
needs: repository
4040
steps:
4141
- name: Checkout
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@v5
4343
with:
4444
fetch-depth: 0
4545
token: ${{ secrets.GH_TOKEN }}
@@ -68,7 +68,7 @@ jobs:
6868
env:
6969
ORIGIN: https://github.com/seamapi/${{ github.event.inputs.repo }}.git
7070
- name: Commit
71-
uses: stefanzweifel/git-auto-commit-action@v5
71+
uses: stefanzweifel/git-auto-commit-action@v7
7272
with:
7373
branch: main
7474
skip_fetch: true

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
needs: build
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2525
with:
2626
fetch-depth: 0
2727
- name: Download artifact
28-
uses: actions/download-artifact@v4
28+
uses: actions/download-artifact@v6
2929
with:
3030
name: ${{ needs.build.outputs.artifact_name }}
3131
path: .

.github/workflows/semantic-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
new_release_version: ${{ steps.release.outputs.new_release_version }}
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v5
3131
with:
3232
fetch-depth: 0
3333
- name: Semantic release
3434
id: release
35-
uses: cycjimmy/semantic-release-action@v4
35+
uses: cycjimmy/semantic-release-action@v6
3636
with:
3737
dry_run: true
3838
release:
@@ -43,7 +43,7 @@ jobs:
4343
if: needs.semantic.outputs.new_release_published == 'true' && needs.semantic.outputs.new_release_version != '1.0.0'
4444
steps:
4545
- name: Checkout
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v5
4747
with:
4848
fetch-depth: 1
4949
- name: Release version ${{ needs.semantic.outputs.new_release_version }} on ${{ github.ref_name }}

.github/workflows/version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
timeout-minutes: 30
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
2121
with:
2222
token: ${{ secrets.GH_TOKEN }}
2323
- name: Import GPG key

0 commit comments

Comments
 (0)