Develop (#11) #25
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
codeQuality: | |
runs-on: ubuntu-latest | |
env: | |
ALCHEMY_PRIVATE_KEY: ${{ secrets.ALCHEMY_PRIVATE_KEY }} | |
SEPOLIA_URL: ${{ secrets.SEPOLIA_URL }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: npm install | |
- name: Run linter | |
run: npm run lint | |
- name: Run duplications check | |
run: npm run duplicated | |
- name: Run smart contracts unit tests | |
run: npm run test-contracts | |
- name: Run scripts unit tests | |
run: npm run test-scripts |