Updated dependencies. #1042
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: 'Storybook Tests' | |
on: push | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.14' | |
- name: Install dependencies | |
run: npm install && npx playwright install | |
working-directory: docroot/themes/contrib/civictheme/civictheme_library | |
- name: Build Storybook | |
run: npm run build-storybook | |
working-directory: docroot/themes/contrib/civictheme/civictheme_library | |
- name: Run tests | |
run: npm run test | |
working-directory: docroot/themes/contrib/civictheme/civictheme_library |