Skip to content

Bump version to v0.12.0 #33

Bump version to v0.12.0

Bump version to v0.12.0 #33

Workflow file for this run

name: Playwright Tests
on:
push:
branches:
- main
- '*-dev'
pull_request:
branches:
- main
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: |
package-lock.json
ui/package-lock.json
- name: Get installed Playwright version
id: playwright-version
run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').packages['node_modules/@playwright/test']['version'])")" >> $GITHUB_ENV
- name: Cache playwright binaries
uses: actions/cache@v3
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '>1.20.0'
cache-dependency-path: go.sum
- name: Build bbdb server
run: ./run_test_build.sh
- name: Install testing dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
if: steps.playwright-cache.outputs.cache-hit != 'true'
- 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