Skip to content

Commit

Permalink
fix: Fixed CI/CD. ⚙️
Browse files Browse the repository at this point in the history
  • Loading branch information
Byloth committed Feb 23, 2024
1 parent 785bf09 commit 07f0cc5
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/storybook-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Source code clone
uses: actions/checkout@v3
- name: Node.js 18 (LTS) setup
uses: actions/setup-node@v3
uses: actions/checkout@v4
- name: Node.js 20 (LTS) setup
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: YARN upgrade
- name: Corepack activation
run: corepack enable
- name: Yarn upgrade
run: yarn set version stable
- name: Dependencies installation
run: yarn install
run: yarn install --immutable
- name: Coding standard check
run: yarn lint:prod
- name: Types integrity check
run: yarn check:types
- name: Source code build
run: yarn build:storybook
- name: Artifact upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: byloth-clay_vue-storybook
path: .storybook/dist
Expand All @@ -46,20 +48,20 @@ jobs:

steps:
- name: Artifact download
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: byloth-clay_vue-storybook

- name: GitHub Pages setup
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Artifact upload
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: "."

- id: deployment
name: GitHub Pages deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

environment:
name: github-pages
Expand Down

0 comments on commit 07f0cc5

Please sign in to comment.