trying to fix ci #81
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: "checks" | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
- dev | ||
- feat/github-action | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v3 | ||
- name: Setup | ||
uses: ./.github/actions/setup | ||
- name: Compile only | ||
env: | ||
NODE_OPTIONS: "--max_old_space_size=16384" | ||
run: npx hardhat zkit compile | ||
- name: Update hardhat.config | ||
run: | | ||
sed -i "/compilationSettings: {/a \ skipFiles:\n[\n\"mock\/ec\/scalarMult.circom\",\n\"mock\/ec\/scalarMultBrainpoolP256r1.circom\",\n\"mock\/signatures\/ecdsaNum.circom\",\n]," hardhat.config.ts | ||
cat hardhat.config.ts | ||
- name: Compile and setup | ||
env: | ||
NODE_OPTIONS: "--max_old_space_size=16384" | ||
run: npm run compile | ||
- name: Run tests | ||
run: npm run test |