occulto/.github/workflows/test.yaml

33 lines
580 B
YAML
Raw Normal View History

2023-04-25 00:06:36 +02:00
name: 'Run Tests'
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
2023-04-25 00:06:36 +02:00
node-version: 18
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
2023-04-25 00:06:36 +02:00
version: 8
- name: Install dependencies
run: pnpm install
- name: Install Playwright
run: pnpm exec playwright install-deps
- name: Run tests
run: pnpm run test