Skip to content

Bump eslint from 9.16.0 to 9.17.0 #165

Bump eslint from 9.16.0 to 9.17.0

Bump eslint from 9.16.0 to 9.17.0 #165

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Build & Test
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm run ci-all
- run: npm run lint
- run: npx hardhat vars set ALCHEMY_API_KEY ${{ secrets.ALCHEMY_API_KEY }} &&
npx hardhat vars set DEPLOYER_PRIVATE_KEY ${{ secrets.DEPLOYER_PRIVATE_KEY }} &&
npx hardhat vars set ETHERSCAN_API_KEY ${{ secrets.ETHERSCAN_API_KEY }} &&
npx hardhat vars set POLYGONSCAN_API_KEY ${{ secrets.POLYGONSCAN_API_KEY }}
- run: npm run build --if-present
- run: npm run deploy
- run: npm run test-all