mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-22 08:16:28 +00:00
ci
This commit is contained in:
parent
0a98481991
commit
41ed5c0e23
31
.github/workflows/test.yaml
vendored
31
.github/workflows/test.yaml
vendored
@ -14,17 +14,13 @@ jobs:
|
|||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: "16"
|
node-version: "16"
|
||||||
# - uses: pnpm/action-setup@v2
|
|
||||||
# with:
|
|
||||||
# version: 7
|
|
||||||
|
|
||||||
- uses: docker/setup-qemu-action@v1
|
- uses: docker/setup-qemu-action@v1
|
||||||
- uses: docker/setup-buildx-action@v1
|
- uses: docker/setup-buildx-action@v1
|
||||||
with:
|
with:
|
||||||
install: true
|
install: true
|
||||||
- name: Build
|
- name: Build docker image
|
||||||
run: |
|
run: npm run test:prepare
|
||||||
npm run test:docker
|
|
||||||
|
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
run: |
|
run: |
|
||||||
@ -38,26 +34,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: test-results
|
name: test-results
|
||||||
path: test-results
|
path: test-results
|
||||||
# test:
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# steps:
|
|
||||||
# - uses: actions/checkout@v2
|
|
||||||
# - uses: actions/setup-node@v2
|
|
||||||
# with:
|
|
||||||
# node-version: "16"
|
|
||||||
# - uses: pnpm/action-setup@v2
|
|
||||||
# with:
|
|
||||||
# version: 7
|
|
||||||
# - name: Prepare
|
|
||||||
# run: |
|
|
||||||
# pnpm install
|
|
||||||
# pnpm run test:docker
|
|
||||||
# - name: Install Playwright
|
|
||||||
# run: npx playwright install --with-deps
|
|
||||||
# - name: Run your tests
|
|
||||||
# run: pnpm run test:run
|
|
||||||
# - name: Upload test results
|
|
||||||
# uses: actions/upload-artifact@v2
|
|
||||||
# with:
|
|
||||||
# name: test-results
|
|
||||||
# path: test-results
|
|
||||||
|
@ -6,9 +6,8 @@
|
|||||||
"dev": "run-p dev:*",
|
"dev": "run-p dev:*",
|
||||||
"test:run": "playwright test --project chrome firefox safari",
|
"test:run": "playwright test --project chrome firefox safari",
|
||||||
"test:local": "playwright test --project local",
|
"test:local": "playwright test --project local",
|
||||||
"test:server": "pnpm --parallel run test:server",
|
"test:server": "docker compose -f docker-compose.dev.yaml up",
|
||||||
"test:prepare": "pnpm --parallel run test:prepare",
|
"test:prepare": "docker compose -f docker-compose.dev.yaml build"
|
||||||
"test:docker": "docker compose -f docker-compose.dev.yaml build"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@playwright/test": "^1.25.1",
|
"@playwright/test": "^1.25.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user