This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
Note, in the README, that polyfilled CryptoKeys
can not be stored in IndexedDB
#2125
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: | |
# 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@v3 | |
- name: Install package manager | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8.6.1 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Get Test Validator Latest Release | |
id: get-test-validator-version | |
run: | | |
echo "version=$(./scripts/get-latest-validator-release-version.sh)" >> $GITHUB_OUTPUT | |
shell: bash | |
- name: Cache Test Validator | |
id: cache-test-validator | |
uses: actions/cache@v3 | |
with: | |
path: .solana | |
key: ${{ runner.os }}-test-validator-${{ steps.get-test-validator-version.outputs.version }} | |
- name: Install Test Validator | |
if: steps.cache-test-validator.outputs.cache-hit != 'true' | |
run: scripts/setup-test-validator.sh | |
- name: Build & Test | |
run: pnpm build --concurrency=100% | |
- name: Upload Experimental library build artifacts | |
if: matrix.node == 'current' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: library-dist | |
path: | | |
./packages/library/dist/ | |
./packages/library/package.json |