Bump tough-cookie and eth-gas-reporter #105
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: SSI-SDK CI | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: 'Run build and test' | |
runs-on: ubuntu-latest | |
outputs: | |
branch_name: ${{ steps.meta.outputs.branch_name }} | |
should_deploy: ${{ steps.meta.outputs.should_deploy }} | |
strategy: | |
matrix: | |
node-version: ['16.x'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run build | |
run: npm run build --if-present | |
- name: Run lint | |
run: npm run lint | |
- name: Run unit tests | |
run: npm test | |
- name: Run hardhat tests | |
run: npx hardhat test |