aktiver hjemler for oms_ao (#6563) #191
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: 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' |