Update SOL tests #487
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: Lint, Build, and Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: null | |
env: | |
# This should match the hostname of the endpoint used to record the pollyjs test | |
# This shouldn't be a valid endpoint URL, the auth token should be redacted | |
QUICKNODE_ENDPOINT_URL: ${{ secrets.QUICKNODE_ENDPOINT_URL }} | |
QUICKNODE_SOLANA_ENDPOINT_URL: ${{ secrets.QUICKNODE_SOLANA_ENDPOINT_URL }} | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
- 16.x | |
- 18.x | |
- 20.x | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: nrwl/nx-set-shas@v3 | |
- run: yarn install --immutable | |
- run: npx nx workspace-lint | |
- run: npx nx format:check | |
- run: npx nx affected --target=lint --parallel=3 | |
- run: npx nx affected --target=build --parallel=3 | |
- run: npx nx affected --target=test --parallel=3 --ci --code-coverage |