Skip to content

Merge pull request #66 from solana-developers/ci-fix #269

Merge pull request #66 from solana-developers/ci-fix

Merge pull request #66 from solana-developers/ci-fix #269

Workflow file for this run

# From https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs#using-the-nodejs-starter-workflow
name: Node.js and Solana CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: metadaoproject/setup-solana@v1.0
with:
# Install Solana CLI (beta, required to fix 'ahash' issue)
solana-cli-version: "1.18.5"
- name: Setup Node.js version
uses: actions/setup-node@v4
with:
node-version: 21.x
- name: Run Solana validator (and background it)
run: solana-test-validator &
- name: Install everything
run: npm ci
- name: Check Solana keygen is installed
run: echo $PATH; which solana-keygen
- name: Run tests
run: npm run test:ci