Skip to content

chore(deps-dev): bump vite-plugin-pwa from 0.16.5 to 0.16.6 #23

chore(deps-dev): bump vite-plugin-pwa from 0.16.5 to 0.16.6

chore(deps-dev): bump vite-plugin-pwa from 0.16.5 to 0.16.6 #23

Workflow file for this run

name: code-gear > storybook
on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_call:
permissions:
contents: write
jobs:
build-storybook:
name: Building, testing and deploying storybook
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'master'
- run: |
echo "BASE: ${{ env.NX_BASE }}"
echo "HEAD: ${{ env.NX_HEAD }}"
- name: Installing Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.8.0
- name: Cache Yarn dependencies
uses: actions/cache@v2
with:
path: |
~/.cache/yarn
~/.yarn/cache
.yarn/cache
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/*.yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Installing dependencies
run: yarn install
- name: Building storybook
run: yarn nx run web-ui:storybook:build
- name: Pushing to build-storybook branch
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist/storybook/ui
branch: storybook-build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Initializing Playwright
run: npx playwright install
- name: Testing storybook in production
run: yarn nx run web-ui:storybook:test:production