feat: reworked ui for selector proposals #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
- 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: pnpm run web-ext:pack | |
- run: pnpm run test | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |