Skip to content

Workflow file for this run

name: Run tests
on:
push:
pull_request:
workflow_call:
inputs:
VERSION_REF:
required: true
type: string
description: Set app version to deploy in semver format [0-9].[0-9].[0-9]
workflow_dispatch:
inputs:
VERSION_REF:
required: false
default: 0.0.0
type: string
description: Set app version to deploy in semver format [0-9].[0-9].[0-9]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- run: echo ${{ github.ref }}
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
cache: pnpm
node-version: 18
- run: pnpm install
# - name: Install Playwright Browsers
# run: pnpm exec playwright install --with-deps
- run: pnpm run build
env:
VERSION_REF:
${{ inputs.VERSION_REF || ( github.ref_type == 'tag' && github.ref || '0.0.0') }}
BUILD_TARGET: chrome
- run: cat dist/manifest.json
# - run: pnpm run test
# - uses: actions/upload-artifact@v3
# if: always()
# with:
# name: playwright-report
# path: playwright-report/
# retention-days: 30