Ajoute une ConsoleAdministration
permettant l'exécution d'opération…
#1115
Workflow file for this run
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@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16.x" | |
- name: Installe les dépendances | |
run: npm ci | |
- name: Installe Playwright | |
run: npx playwright install --with-deps chromium | |
- name: Construction de Storybook | |
run: npm run storybook:build -w anssi-nis2-ui | |
- name: Tests UI | |
run: | | |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ | |
"npx http-server ./anssi-nis2-ui/storybook-static --port 6006 --silent" \ | |
"npx wait-on tcp:6006 && npm run storybook:test -w anssi-nis2-ui" |