Skip to content

Litt modernisering av VedtakProsessIndexTilbakekreving.stories.tsx (#… #302

Litt modernisering av VedtakProsessIndexTilbakekreving.stories.tsx (#…

Litt modernisering av VedtakProsessIndexTilbakekreving.stories.tsx (#… #302

name: Build and Publish Storybook to GitHub Pages
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Hente kode
uses: actions/checkout@v4
- name: Setup yarnrc
uses: ./.github/actions/setup-yarnrc
with:
npmAuthToken: ${{ secrets.READER_TOKEN }}
- name: Sette opp Node
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'yarn'
- uses: bitovi/[email protected]
with:
install_command: HUSKY=0 yarn install --immutable
build_command: yarn build-storybook
path: .static_storybook
checkout: false
- name: Oppdater Playwright install cache for Storybook-tester
uses: ./.github/actions/setup-playwright
with:
cacheOnly: 'true'