Skip to content

qwerty sucks draft

qwerty sucks draft #49

Workflow file for this run

name: Playwright Tests
on:
- push
- pull_request
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/setup-go@v4
with:
go-version: "^1.21.3"
# Build go app
- name: Install and generate templates
run: |
go install github.com/a-h/templ/cmd/templ@v0.2.501
templ generate components
- name: Install pacakges
run: go get
- name: Build
run: go build
# Set up playwright
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30