Skip to content

Semantiske farger - Accordion #2310

Semantiske farger - Accordion

Semantiske farger - Accordion #2310

Workflow file for this run

name: Test CI
on:
pull_request:
branches: [develop]
jobs:
test-ci:
name: Build, test, and deploy preview of components
runs-on: ubuntu-latest
if: github.event.repository.full_name == 'SpareBank1/designsystem'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- run: npm run build
- run: npm run lint
- run: npm test -- --ci
- name: Build component overview page
if: ${{ !github.event.pull_request.head.repo.fork }}
run: npm run build-storybook
env:
GH_PUBLIC_URL: /
- name: Build and deploy preview
if: ${{ !github.event.pull_request.head.repo.fork }}
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BLACK_BEACH_0D62D0D03 }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: 'upload'
app_location: './storybook-static'
api_location: ''
output_location: ''
skip_app_build: true