Lock web3.js to 1.x for compatibility #8
This file contains 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
name: Pull requests | |
on: | |
pull_request: | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./core | |
strategy: | |
matrix: | |
node: | |
- "current" | |
- "lts/*" | |
name: Run unit tests on Node ${{ matrix.node }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install Dependencies | |
run: npm install | |
- name: Run unit tests | |
run: npm test |