cryptgeon/.github/workflows/test.yaml

39 lines
759 B
YAML
Raw Normal View History

2022-11-02 12:26:57 +00:00
name: Test
on:
2022-11-02 12:26:57 +00:00
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Node
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- uses: pnpm/action-setup@v2
2022-11-14 15:16:50 +00:00
# Docker
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
2022-11-14 15:16:50 +00:00
with:
install: true
- name: Prepare
run: |
pnpm install --frozen-lockfile
pnpm exec playwright install --with-deps
pnpm run test:prepare
2022-11-14 15:16:50 +00:00
- name: Run your tests
run: pnpm test
- uses: actions/upload-artifact@v3
with:
name: test-results
path: test-results