Skip to content

Initial commit

Initial commit #4

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 CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
# Install Solana
# From https://docs.solana.com/cli/install-solana-cli-tools
- run: sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
- name: Add to PATH
shell: bash
run: |
echo "~/.local/share/solana/install/active_release/bin:$PATH" >> $GITHUB_PATH
# DEBUG
- run: echo "DEBUG"
- run: echo $PATH
- run: ls -la ~/.local/share/solana/install/active_release/bin
# Install everything
- run: npm ci
# Run tests
- run: npm test