Skip to content

v2.1.1

v2.1.1 #817

Workflow file for this run

name: playwright
on:
push:
branches:
- main
- master
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
playwright:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
- name: "Node.js"
uses: "actions/setup-node@v4"
with:
node-version: 18
- name: "Install dependencies"
working-directory: "./test/playwright"
run: "npm install"
- name: "Install Playwright Browsers"
working-directory: "./test/playwright"
run: "npx playwright install --with-deps"
- name: "Golang"
uses: "actions/setup-go@v5"
with:
go-version: "1.26.0"
- name: "Bootstrap"
run: "bin/bootstrap.sh"
- name: "Build App"
env:
GOEXPERIMENT: "jsonv2"
run: "make build-release"
- name: "Run Playwright tests"
run: "bin/build/playwright.sh"
- name: "Upload report"
uses: "actions/upload-artifact@v4"
with:
name: "playwright-report"
path: "./test/playwright/playwright-report/"
retention-days: 30
- name: "Setup Pages"
uses: actions/configure-pages@v5
- name: "Upload Pages Artifact"
uses: actions/upload-pages-artifact@v3
with:
path: "./test/playwright/playwright-report"
- name: "Deploy to GitHub Pages"
id: deployment
uses: actions/deploy-pages@v4