Skip to content

Merge pull request #532 from metaplex-foundation/changeset-release/main #1070

Merge pull request #532 from metaplex-foundation/changeset-release/main

Merge pull request #532 from metaplex-foundation/changeset-release/main #1070

Workflow file for this run

name: Run Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["16.x", "18.x"]
solana: ["1.10.34"]
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Install Solana
uses: ./.github/actions/install-solana
with:
solana_version: ${{ matrix.solana }}
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Start local validator using Amman
run: pnpm amman:start
- name: Build and Run tests
run: pnpm test:all