Skip to content

Bump the npm-dependencies group across 1 directory with 19 updates #121

Bump the npm-dependencies group across 1 directory with 19 updates

Bump the npm-dependencies group across 1 directory with 19 updates #121

Workflow file for this run

name: Publish and deploy
on:
pull_request:
types:
- closed
jobs:
deploy-to-npm:
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-gh-pages:
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-file: .nvmrc
- name: Install dependencies
run: npm ci
- name: Build Storybook
run: |
npm run compile:sass-govuk
npm run compile:sass
npm run build:storybook --quiet
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: storybook # The folder the action should deploy.