Skip to content

Commit 85d3eec

Browse files
authored
fix: upgrade actions on CI (feature-sliced#690)
1 parent 10329c6 commit 85d3eec

File tree

4 files changed

+8599
-5935
lines changed

4 files changed

+8599
-5935
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,21 @@ jobs:
1616
HOTJAR_ID: ${{ secrets.HOTJAR_ID }}
1717

1818
steps:
19-
- uses: actions/checkout@v3
20-
with:
21-
persist-credentials: false
19+
- uses: actions/checkout@v4
2220

23-
- uses: pnpm/action-setup@v2
24-
with:
25-
version: 8.3.1
21+
- run: corepack enable
2622

27-
- uses: actions/setup-node@v3
23+
- uses: actions/setup-node@v4
2824
with:
29-
node-version: 18.x
25+
node-version: 20.x
3026
cache: pnpm
3127

3228
- name: Install dependencies
3329
run: pnpm install
3430
working-directory: .
3531

3632
- name: Retrieve Docusaurus build cache
37-
uses: actions/cache@v3
33+
uses: actions/cache@v4
3834
with:
3935
path: node_modules/.cache/webpack
4036
key: docusaurus-${{ github.ref_name }}
@@ -47,7 +43,7 @@ jobs:
4743
working-directory: .
4844

4945
- name: Deploy 🚀
50-
uses: JamesIves/github-pages-deploy-action@4.1.3
46+
uses: JamesIves/github-pages-deploy-action@v4.6.1
5147
with:
5248
branch: gh-pages
5349
folder: ./build

.github/workflows/testing.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,20 @@ jobs:
1414
HOTJAR_ID: ${{ secrets.HOTJAR_ID }}
1515

1616
steps:
17-
- uses: actions/checkout@v3
18-
with:
19-
persist-credentials: false
17+
- uses: actions/checkout@v4
2018

21-
- uses: pnpm/action-setup@v2
22-
with:
23-
version: 8.3.1
19+
- run: corepack enable
2420

25-
- uses: actions/setup-node@v3
21+
- uses: actions/setup-node@v4
2622
with:
27-
node-version: 18.x
23+
node-version: 20.x
2824

2925
- name: Install dependencies
3026
run: pnpm install
3127
working-directory: .
3228

3329
- name: Retrieve Docusaurus build cache
34-
uses: actions/cache@v3
30+
uses: actions/cache@v4
3531
with:
3632
path: node_modules/.cache/webpack
3733
key: docusaurus-${{ github.ref_name }}
@@ -47,24 +43,20 @@ jobs:
4743
runs-on: ubuntu-latest
4844
timeout-minutes: 10
4945
steps:
50-
- uses: actions/checkout@v3
51-
with:
52-
persist-credentials: false
46+
- uses: actions/checkout@v4
5347

54-
- uses: pnpm/action-setup@v2
55-
with:
56-
version: 8.3.1
48+
- run: corepack enable
5749

58-
- uses: actions/setup-node@v3
50+
- uses: actions/setup-node@v4
5951
with:
60-
node-version: 18.x
52+
node-version: 20.x
6153

6254
- name: Install dependencies
6355
run: pnpm install
6456
working-directory: .
6557

6658
- name: Retrieve linter cache
67-
uses: actions/cache@v3
59+
uses: actions/cache@v4
6860
with:
6961
path: |
7062
./.eslintcache

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"contributors:generate": "all-contributors generate"
2323
},
2424
"engines": {
25-
"node": ">= 18.0"
25+
"node": ">= 20.0"
2626
},
2727
"dependencies": {
2828
"@ant-design/icons": "^5.2.6",
@@ -94,5 +94,5 @@
9494
"stylelint-config-standard-scss": "^11.1.0",
9595
"typescript": "^5.4.5"
9696
},
97-
"packageManager": "pnpm@8.14.1"
97+
"packageManager": "pnpm@9.4.0"
9898
}

0 commit comments

Comments
 (0)