Skip to content

chore: add GitHub Workflow #5

chore: add GitHub Workflow

chore: add GitHub Workflow #5

Workflow file for this run

name: Test and Build Anchor
on: [push]
jobs:
run-anchor-build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 20.18.0
cache: 'pnpm'
- uses: metadaoproject/[email protected]
with:
anchor-version: '0.30.1'
node-version: '20.18.0'
solana-cli-version: '1.18.9'
- run: anchor build
shell: bash
- run: anchor test
shell: bash