Skip to content

Commit 92c57e6

Browse files
committed
Update githubactions
1 parent 82dba6c commit 92c57e6

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/npmpublish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: NPM Publish
22

33
env:
4-
NODE_VERSION: 18
4+
NODE_VERSION: 22
55

66
on:
77
push:
@@ -17,9 +17,9 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

22-
- uses: actions/setup-node@v3
22+
- uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ env.NODE_VERSION }}
2525
registry-url: https://registry.npmjs.org/

.github/workflows/pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Deploy to Github Pages
22

33
env:
4-
NODE_VERSION: 18
4+
NODE_VERSION: 22
55

66
on:
77
push:
@@ -20,10 +20,10 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
- name: Using node v${{ env.NODE_VERSION }}
26-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
2727
with:
2828
node-version: ${{env.NODE_VERSION}}
2929
cache: npm
@@ -35,7 +35,7 @@ jobs:
3535
run: npm run build:storybook
3636

3737
- name: Upload artifact
38-
uses: actions/upload-pages-artifact@v1
38+
uses: actions/upload-pages-artifact@v3
3939
with:
4040
path: ./storybook-static
4141

@@ -55,4 +55,4 @@ jobs:
5555
steps:
5656
- name: Deploy to GitHub Pages
5757
id: deployment
58-
uses: actions/deploy-pages@v2
58+
uses: actions/deploy-pages@v4

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Tests
22

33
env:
4-
NODE_VERSION: 18
4+
NODE_VERSION: 22
55

66
on:
77
push:
@@ -15,9 +15,9 @@ jobs:
1515

1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

20-
- uses: actions/setup-node@v3
20+
- uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ env.NODE_VERSION }}
2323
cache: npm

0 commit comments

Comments
 (0)