Skip to content

Commit e2a20be

Browse files
committed
Update CI/CD workflows to use latest action versions
- Upgrade actions/checkout from v4 to v5 in ci.yml and docs.yml for improved performance. - Update actions/setup-node from v4 to v6 and change node version to 22 in docs.yml. - Modify node version to 24 in release.yml for consistency with latest features. - Upgrade actions/upload-pages-artifact from v3 to v4 in docs.yml for enhanced functionality. - Update changesets/action to a specific commit in release.yml for stability.
1 parent f9b0520 commit e2a20be

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
group: lint-${{ github.event_name }}-${{ github.ref }}
1818
cancel-in-progress: true
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2121
- uses: ./.github/actions/setup
2222
- run: npm run lint
2323

@@ -28,7 +28,7 @@ jobs:
2828
group: build-${{ github.event_name }}-${{ github.ref }}
2929
cancel-in-progress: true
3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v5
3232
- uses: ./.github/actions/setup
3333
- run: npm run build
3434
- run: npm run attw

.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ on:
1111
workflow_dispatch:
1212

1313
permissions:
14-
contents: read
1514
pages: write
15+
contents: read
1616
id-token: write
1717

1818
concurrency:
@@ -24,12 +24,12 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828

2929
- name: Setup Node
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@v6
3131
with:
32-
node-version: '20'
32+
node-version: '22'
3333
cache: 'npm'
3434

3535
- name: Install deps (root)
@@ -42,7 +42,7 @@ jobs:
4242
run: npx vitepress build docs
4343

4444
- name: Upload artifact
45-
uses: actions/upload-pages-artifact@v3
45+
uses: actions/upload-pages-artifact@v4
4646
with:
4747
path: docs/.vitepress/dist
4848

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: ./.github/actions/setup
2121
with:
22-
node-version: 22
22+
node-version: 24
2323

2424
- name: Build Packages
2525
run: npm run build
@@ -28,7 +28,7 @@ jobs:
2828
run: npm run attw
2929

3030
- name: Create Release Pull Request or Publish
31-
uses: changesets/action@v1
31+
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba
3232
with:
3333
version: npm run version
3434
publish: npm run publish

0 commit comments

Comments
 (0)