pull-requests permission required for Version Packages PR (#345) #1056
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: test covector | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# some of the tests use the covector git history to run | |
fetch-depth: 0 | |
- uses: volta-cli/action@v4 | |
- run: npm ci | |
- run: npm run build # covector CLI tests run built files | |
- run: npm test |