refactor(experimental): fix mixed changeset error on CI #4565
Workflow file for this run
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: Pull requests | |
on: | |
pull_request: | |
env: | |
# Among other things, opts out of Turborepo telemetry | |
# See https://consoledonottrack.com/ | |
DO_NOT_TRACK: '1' | |
# Enables Turborepo Remote Caching. | |
TURBO_REMOTE_CACHE_SIGNATURE_KEY: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }} | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
jobs: | |
# Needed for grouping check-web3 strategies into one check for mergify | |
all-web3-checks: | |
runs-on: ubuntu-latest | |
needs: build-and-test | |
steps: | |
- run: echo "Done" | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: | |
- 'current' | |
- 'lts/*' | |
name: Build & Test on Node ${{ matrix.node }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
uses: ./.github/workflows/actions/install-dependencies | |
with: | |
version: ${{ matrix.node }} | |
- name: Setup Solana Test Validator | |
id: start-test-validator | |
uses: ./.github/workflows/actions/setup-validator | |
- name: Build & Test | |
run: pnpm build --concurrency=100% | |
- name: Stop Test Validator | |
if: always() && steps.start-test-validator.outcome == 'success' | |
run: kill ${{ steps.start-test-validator.outputs.pid }} | |
- name: Upload Experimental Library Bundle | |
if: matrix.node == 'current' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: library-dist | |
path: | | |
./packages/library/dist/ | |
./packages/library/package.json |