occulto/.github/workflows/test.yaml

33 lines
651 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-05-16 10:28:44 +02:00
node-version-file: .nvmrc
- name: Setup PNPM
uses: pnpm/action-setup@v2
- name: Install dependencies
run: pnpm install
2024-02-09 14:44:04 +01:00
- name: Install Playwright Dependencies
run: pnpm exec playwright install-deps
2024-02-09 14:44:04 +01:00
- name: Install Playwright Browsers
run: pnpm exec playwright install
- name: Run tests
run: pnpm run test