This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Update Ganache to 7.9.1; turn off Node 14 and turn on Node 20 (and fix a bad type) #8299
Workflow file for this run
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: Node CI | |
on: | |
push: | |
branches: | |
# long-lived branches | |
- master | |
- develop | |
- next | |
pull_request: | |
branches: | |
- "*" | |
permissions: | |
contents: read | |
jobs: | |
yarncheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: npm install -g yarn | |
- run: yarn install --ignore-scripts --ignore-engines | |
- run: test -z "$(git diff)" || (echo 'Please run yarn and commit all changes to yarn.lock'; false) | |
build: | |
needs: yarncheck | |
strategy: | |
matrix: | |
platform: [ubuntu-latest] | |
node-version: [16.x, 18.x, 20.x] | |
env: [GETH=true, PACKAGES=true, INTEGRATION=true] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install -g yarn | |
- run: yarn install | |
- run: test -z "$(git diff)" || (echo 'Did you check in a generated file to source control? Please remove it if so'; false) | |
- run: yarn depcheck | |
- run: ${{ matrix.env }} yarn ci | |
env: | |
CI: true |