mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-23 00:36: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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# Node
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
|
- uses: pnpm/action-setup@v2
|
||||||
|
|
||||||
|
# Docker
|
||||||
- uses: docker/setup-qemu-action@v2
|
- uses: docker/setup-qemu-action@v2
|
||||||
- uses: docker/setup-buildx-action@v2
|
- uses: docker/setup-buildx-action@v2
|
||||||
with:
|
with:
|
||||||
@ -24,11 +28,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
run: |
|
run: |
|
||||||
npm install playwright
|
pnpm install --frozen-lockfile
|
||||||
npx playwright install --with-deps
|
pnpm exec playwright install --with-deps
|
||||||
|
pnpm run test:prepare
|
||||||
|
|
||||||
- name: Run your tests
|
- name: Run your tests
|
||||||
run: npm test
|
run: pnpm test
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: test-results
|
name: test-results
|
||||||
|
Loading…
Reference in New Issue
Block a user