Skip to content

Commit 718fd6a

Browse files
authored
Merge pull request #1734 from guilherme-gm/upgrade-workflows
ci(storybook): upgrade deploy-vue-storybook to latest actions
2 parents 3972123 + 8022ea1 commit 718fd6a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/deploy-vue-storybook.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
build-storybook:
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030
with:
3131
ref: main
32-
- name: Use Node.js 16.x
33-
uses: actions/setup-node@v3
32+
- name: Use Node.js 20.x
33+
uses: actions/setup-node@v4
3434
with:
35-
node-version: '16.x'
35+
node-version: '20.x'
3636

3737
- name: Install Vue 3 dependencies
3838
run: |
@@ -44,7 +44,7 @@ jobs:
4444
yarn build-storybook --quiet --output-dir ${GITHUB_WORKSPACE}/storybook/storybook-static/
4545
4646
- name: Switch to Vue 2 branch
47-
uses: actions/checkout@v3
47+
uses: actions/checkout@v4
4848
with:
4949
ref: vue2
5050
clean: false
@@ -60,9 +60,9 @@ jobs:
6060
npx vue-cli-service storybook:build -c storybook/.storybook --output-dir ${GITHUB_WORKSPACE}/storybook/storybook-static/vue2
6161
6262
- name: Setup Pages
63-
uses: actions/configure-pages@v3
63+
uses: actions/configure-pages@v4
6464
- name: Upload artifact
65-
uses: actions/upload-pages-artifact@v1
65+
uses: actions/upload-pages-artifact@v3
6666
with:
6767
path: 'storybook/storybook-static'
6868

@@ -76,4 +76,4 @@ jobs:
7676
steps:
7777
- name: Deploy to GitHub Pages
7878
id: deployment
79-
uses: actions/deploy-pages@v1
79+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)