mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-22 16:26:28 +00:00
test pipeline
This commit is contained in:
parent
a2cf751012
commit
663ffc057c
11
.github/workflows/test.yaml
vendored
11
.github/workflows/test.yaml
vendored
@ -11,10 +11,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# Node
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- uses: pnpm/action-setup@v2
|
||||
|
||||
# Docker
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
@ -24,11 +28,12 @@ jobs:
|
||||
|
||||
- name: Prepare
|
||||
run: |
|
||||
npm install playwright
|
||||
npx playwright install --with-deps
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm exec playwright install --with-deps
|
||||
pnpm run test:prepare
|
||||
|
||||
- name: Run your tests
|
||||
run: npm test
|
||||
run: pnpm test
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: test-results
|
||||
|
Loading…
Reference in New Issue
Block a user