Rename to Fortuna #151
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: JS/TS checks | |
on: | |
pull_request: | |
paths: | |
- "**.tsx?" | |
- "**.jsx?" | |
- "**.json" | |
- "**.sol" | |
- "**/package.json" | |
- "**/package-lock.json" | |
- "**/tsconfig.json" | |
push: | |
branches: [main] | |
paths: | |
- "**.tsx?" | |
- "**.jsx?" | |
- "**.json" | |
- "**.sol" | |
- "**/package.json" | |
- "**/package-lock.json" | |
- "**/tsconfig.json" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "npm" | |
- name: Install deps | |
run: npm ci | |
- name: Build | |
run: npx lerna run build | |
- name: Test | |
run: npx lerna run test | |
- name: Lint | |
run: npx lerna run lint | |
- name: Generate ABIs | |
run: npx lerna run generate-abi | |
- name: Check Solidity ABI | |
run: git diff --exit-code target_chains/ethereum/sdk/solidity/abis/ |