[TRELLO-2648] Implement 2 LPs (#934) #876
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: "[Website] Integration tests" | |
on: | |
workflow_dispatch: # can be triggered manually on github | |
push: | |
paths: | |
- 'website/**' | |
env: | |
NEXT_PUBLIC_SHOW_DEMO_CATEGORY: true | |
NEXT_PUBLIC_API_BASE_URL: https://demo-signalement-api.cleverapps.io | |
jobs: | |
# This workflow contains a single job called "greet" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be | |
# executed as part of the job | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.9.0 | |
registry-url: https://registry.npmjs.org/ | |
- run: yarn install --immutable | |
- run: yarn installplaywright | |
- name: Yarn build | |
working-directory: ./website | |
run: yarn build | |
- name: yarn runplaywright | |
working-directory: ./website | |
run: yarn runplaywright |