[TECHNIQUE] Crée des variables d’environnement pour le pool de la bas… #3755
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: 'Tests MAC UI' | |
on: push | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
- name: Installe les dépendances | |
run: npm ci | |
- name: Installe Playwright | |
run: npx playwright install --with-deps | |
- name: Construis Storybook | |
run: npm run build:storybook --quiet -w mon-aide-cyber-ui | |
- name: Démarre Storybook et execute les tests | |
run: | | |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ | |
"npx http-server ./mon-aide-cyber-ui/storybook-static --port 6006 --silent" \ | |
"npx wait-on tcp:6006 && npm run test:storybook -w mon-aide-cyber-ui" |