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
|
||||
with:
|
||||
node-version: "16"
|
||||
# - uses: pnpm/action-setup@v2
|
||||
# with:
|
||||
# version: 7
|
||||
|
||||
- uses: docker/setup-qemu-action@v1
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
with:
|
||||
install: true
|
||||
- name: Build
|
||||
run: |
|
||||
npm run test:docker
|
||||
- name: Build docker image
|
||||
run: npm run test:prepare
|
||||
|
||||
- name: Prepare
|
||||
run: |
|
||||
@ -38,26 +34,3 @@ jobs:
|
||||
with:
|
||||
name: 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:*",
|
||||
"test:run": "playwright test --project chrome firefox safari",
|
||||
"test:local": "playwright test --project local",
|
||||
"test:server": "pnpm --parallel run test:server",
|
||||
"test:prepare": "pnpm --parallel run test:prepare",
|
||||
"test:docker": "docker compose -f docker-compose.dev.yaml build"
|
||||
"test:server": "docker compose -f docker-compose.dev.yaml up",
|
||||
"test:prepare": "docker compose -f docker-compose.dev.yaml build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.25.1",
|
||||
|
Loading…
Reference in New Issue
Block a user