mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-07-17 23:41:11 +00:00
chore: try a newer nodejs version
This commit is contained in:
@@ -15,6 +15,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
|
- name: Setup node
|
||||||
|
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # ratchet:actions/setup-node@v7
|
||||||
|
with:
|
||||||
|
node-version: 25
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # ratchet:pnpm/action-setup@v6
|
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # ratchet:pnpm/action-setup@v6
|
||||||
with:
|
with:
|
||||||
@@ -31,11 +36,8 @@ jobs:
|
|||||||
run: pnpm exec playwright install --with-deps
|
run: pnpm exec playwright install --with-deps
|
||||||
working-directory: e2e
|
working-directory: e2e
|
||||||
|
|
||||||
- name: Add sslip domains to hosts file
|
|
||||||
run: echo "127.0.0.1 tinyauth.127.0.0.1.sslip.io whoami.127.0.0.1.sslip.io" | sudo tee -a /etc/hosts
|
|
||||||
|
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
run: pnpm exec playwright test
|
run: pnpm test
|
||||||
working-directory: e2e
|
working-directory: e2e
|
||||||
|
|
||||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/upload-artifact@v4
|
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/upload-artifact@v4
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ services:
|
|||||||
--api.insecure=true
|
--api.insecure=true
|
||||||
--providers.docker
|
--providers.docker
|
||||||
--entrypoints.web.address=:80
|
--entrypoints.web.address=:80
|
||||||
|
--log.level=INFO
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"down": "docker compose -f docker-compose.e2e.yml down",
|
"down": "docker compose -f docker-compose.e2e.yml down",
|
||||||
"up": "docker compose -f docker-compose.e2e.yml up --build --force-recreate --remove-orphans",
|
"up": "docker compose -f docker-compose.e2e.yml up --build --force-recreate --remove-orphans",
|
||||||
"logs": "docker compose -f docker-compose.e2e.yml logs -f",
|
|
||||||
"test": "playwright test",
|
"test": "playwright test",
|
||||||
"report": "playwright show-report"
|
"report": "playwright show-report"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user