#134 - Fix logo condition in Login component (#135) #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build all libs together | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node lts | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.17.1 | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Build all modules | |
run: yarn build | |
- name: Build storybook | |
run: yarn run build-storybook | |
- name: Upload storybook artifact | |
uses: actions/[email protected] | |
with: | |
path: dist/storybook | |
- id: deploy | |
name: Deploy to GitHub Pages | |
uses: actions/deploy-pages@v1 | |
with: | |
token: ${{ github.token }} |