2.1.x/trustlessness #1093
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: On push | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
CI: true | ||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
- name: Install dependencies | ||
run: | | ||
pnpm install | ||
- name: Check format | ||
run: | | ||
pnpm run fmt | ||
- name: Compile solidity contracts | ||
run: | | ||
pnpm run compile | ||
- name: Run tests | ||
run: | | ||
pnpm run test |