From 4d77b57f8aa9a2c36128c978a58a17fd9e2dc4cd Mon Sep 17 00:00:00 2001 From: Doug Mayer Date: Thu, 30 Nov 2023 08:54:17 -0600 Subject: [PATCH] Add Mint configuration. --- .mint/tasks.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .mint/tasks.yml diff --git a/.mint/tasks.yml b/.mint/tasks.yml new file mode 100644 index 0000000..f6d00c3 --- /dev/null +++ b/.mint/tasks.yml @@ -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