Bump the npm-dependencies group with 43 updates #64
Workflow file for this run
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: Deploy if not a version bump PR | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' && !contains(github.event.pull_request.labels.*.name, 'Version bump') }} | |
steps: | |
- uses: actions/checkout@v3 | |
- run: gh workflow run deploy.yml | |
env: | |
GITHUB_TOKEN: ${{ secrets.WORKFLOW_PAT }} | |
publish: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' && !contains(github.event.pull_request.labels.*.name, 'Version bump') }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "16.x" | |
- name: Install dependencies | |
run: yarn | |
- name: Build Storybook | |
run: | | |
yarn sass-compile | |
yarn build-storybook --quiet | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: storybook-static # The folder the action should deploy. |