feat(ffe-datepicker-react): tillater liming inn i datepicker-felte… #2430
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: 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 |