Merge pull request #16 from OriumNetwork/feature--ON-491 #136
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: Build | |
on: | |
push: | |
branches: ['*'] | |
jobs: | |
build_test_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
registry-url: https://npm.pkg.github.com | |
scope: '@oriumnetwork' | |
- name: Install Dependencies | |
run: npm ci | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GHB_TOKEN }} | |
- name: Lint | |
run: npm run lint | |
- name: Compile Smart Contracts | |
run: npm run compile | |
env: | |
MUMBAI_PROVIDER_URL: ${{ secrets.MUMBAI_PROVIDER_URL }} | |
- name: Test Coverage | |
run: npm run coverage | |
env: | |
MUMBAI_PROVIDER_URL: ${{ secrets.MUMBAI_PROVIDER_URL }} |