Create an example using Vitest with Captain #1
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 Vitest Integration Example" | |
on: | |
- push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
- uses: rwx-research/setup-captain@v1 | |
- run: npm install | |
- run: captain run captain-examples-vitest | |
env: | |
RWX_ACCESS_TOKEN: ${{ secrets.RWX_ACCESS_TOKEN }} |