Skip to content

[Snyk] Upgrade govuk-frontend from 4.3.1 to 4.8.0 #68

[Snyk] Upgrade govuk-frontend from 4.3.1 to 4.8.0

[Snyk] Upgrade govuk-frontend from 4.3.1 to 4.8.0 #68

Workflow file for this run

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.