Skip to content

Commit

Permalink
Add Mint configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
doxavore committed Nov 30, 2023
1 parent 7f848b7 commit 4d77b57
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .mint/tasks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
tasks:
- key: git-clone
call: mint/checkout
with:
repository: https://github.com/captain-examples/playwright.git
ref: doug/failing
- key: setup-node
use: []
call: mint/setup-node
with:
node-version: 18.18.2
- key: npm-install
use: [git-clone, setup-node]
run: npm ci
filter:
- package.json
- package-lock.json
- key: setup-playwright
use: npm-install
run: npm exec -- playwright install --with-deps
filter:
- package.json
- package-lock.json
- playwright.config.ts
- node_modules/*
- key: run-playwright
use: setup-playwright
run: npm exec -- playwright test --reporter=json
env:
PLAYWRIGHT_JSON_OUTPUT_NAME: playwright-results.json
outputs:
test-results:
- path: playwright-results.json

0 comments on commit 4d77b57

Please sign in to comment.