Add Mint configuration. #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Captain CI example | |
on: | |
pull_request: | |
push: | |
paths-ignore: | |
- README.md | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install dependencies | |
run: npm ci | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- uses: rwx-research/setup-captain@v1 | |
- name: Run Playwright tests | |
run: captain run captain-examples-playwright | |
env: | |
PLAYWRIGHT_JSON_OUTPUT_NAME: tmp/results.json | |
RWX_ACCESS_TOKEN: ${{ secrets.RWX_ACCESS_TOKEN }} |