mirror of https://github.com/kern/filepizza
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
704 B
YAML
29 lines
704 B
YAML
name: tests
|
|
on: [push]
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 9
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: 'pnpm'
|
|
- run: pnpm install
|
|
- run: pnpm exec playwright install --with-deps
|
|
- run: pnpm lint:check
|
|
- run: pnpm format:check
|
|
- run: pnpm type:check
|
|
- run: pnpm test
|
|
- run: pnpm build
|
|
- run: pnpm test:e2e
|
|
- name: Upload Playwright results
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: playwright-results
|
|
path: test-results
|