Skip to content

Commit

Permalink
fix(workflows): set node version to fix build error (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
Torresmorah authored Dec 4, 2023
1 parent 74c82ec commit 9fe3f6b
Show file tree
Hide file tree
Showing 2 changed files with 234 additions and 229 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,24 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Install and Build 🔧
run: |
yarn install
yarn build-storybook
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: storybook-static
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 16

- name: Install and Build 🔧
run: |
yarn install
yarn build-storybook
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: storybook-static
Loading

0 comments on commit 9fe3f6b

Please sign in to comment.