mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 10:51:36 +01:00
27 lines
479 B
YAML
27 lines
479 B
YAML
name: "Playwright tests"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v27
|
|
with:
|
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Enter web app directory
|
|
run: cd web-app
|
|
|
|
- name: Enter Nix development environment
|
|
run: nix develop .#web
|
|
|
|
- name: Run playwright tests
|
|
run: npm run test
|