feat: dark mode #84
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Build docker image | |
run: | | |
docker build . \ | |
--build-arg TESTING_E2E='true' \ | |
-t ${{ github.repository }}:${{ github.sha }} | |
- name: Run docker container | |
run: docker run -d -p 3000:3000 ${{ github.repository }}:${{ github.sha }} | |
- name: Install playwright | |
run: | | |
yarn | |
yarn playwright install --with-deps | |
- name: Run Playwright tests | |
run: yarn playwright test | |
- uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |