Skip to content

Commit 706511d

Browse files
committed
Fixed Github workflows
1 parent d731f6c commit 706511d

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
17-
- name: Use Node 18.x
18-
uses: actions/setup-node@v3
16+
uses: actions/checkout@v4
17+
- name: Use Node 20.x
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: '18.x'
20+
node-version: 20
2121
- name: Install dependencies & build component library
2222
run: npm ci
2323
- name: Run linter

.github/workflows/deploy.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3
13-
- name: Use Node 18.x
14-
uses: actions/setup-node@v3
12+
uses: actions/checkout@v4
13+
- name: Use Node 20.x
14+
uses: actions/setup-node@v4
1515
with:
16-
node-version: '18.x'
16+
node-version: 20
1717
- name: Install dependencies & build component library
1818
run: npm ci
1919
- name: Build documentation
2020
run: npm run build:prod
2121
- name: Archive build
2222
if: success()
23-
uses: actions/upload-artifact@v1
23+
uses: actions/upload-artifact@v4
2424
with:
2525
name: dist
2626
path: dist
@@ -30,13 +30,13 @@ jobs:
3030
needs: build
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v1
33+
uses: actions/checkout@v4
3434
- name: Download build
35-
uses: actions/download-artifact@v1
35+
uses: actions/download-artifact@v4
3636
with:
3737
name: dist
3838
- name: Deploy to GitHub Pages
39-
uses: JamesIves/github-pages-deploy-action@releases/v3
39+
uses: JamesIves/github-pages-deploy-action@releases/v4
4040
with:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4242
BRANCH: gh-pages

0 commit comments

Comments
 (0)