Merge pull request #10 from highlightxyz/v1.5.0 #34
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: Continous Integration | |
env: | |
INFURA_API_KEY: dummy | |
on: push | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check out the repo" | |
uses: "actions/checkout@v3" | |
- name: "Install Node.js" | |
uses: "actions/setup-node@v3" | |
with: | |
cache: "yarn" | |
node-version: "16" | |
- name: "Initialize accounts.json" | |
run: "cp sample.accounts.json accounts.json" | |
- name: "Set up permission to Github Packages" | |
run: | | |
npm config set //npm.pkg.github.com/:_authToken ${{ secrets.READ_GITHUB_PACKAGES_TOKEN }} | |
yarn config list | |
- name: "Install the dependencies" | |
run: "FIRST_INSTALL=true yarn install --immutable" | |
- name: "Lint the code" | |
run: "yarn lint" | |
- name: "Add lint summary" | |
run: | | |
echo "## Lint results" >> $GITHUB_STEP_SUMMARY | |
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY | |
- name: "Compile the contracts and generate the TypeChain bindings" | |
run: "yarn typechain" |