Add link to web3.js version 2 update. #328
Workflow file for this run
This file contains hidden or 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
| # 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 | |
| - name: Install Solana CLI | |
| run: sh -c "$(curl -sSfL https://release.anza.xyz/v1.18.5/install)" | |
| - name: Add Solana bin to PATH | |
| run: echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH | |
| - 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 |