feat: Add rollup-v2 support for ERC20Portal deposit form. #1184
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] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
NEXT_PUBLIC_EXPLORER_API_URL: http://localhost:4350/graphql | |
NEXT_PUBLIC_PREVIEW_EXPLORER_API_URL: ${{ vars.NEXT_PUBLIC_PREVIEW_EXPLORER_API_URL }} | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 22.6.0 | |
cache: "yarn" | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Code format check | |
run: yarn format:check | |
- name: Linting | |
run: yarn lint | |
- name: Run Tests | |
run: yarn test:ci | |
- name: Merge coveralls reports | |
run: yarn coveralls | |
- name: Publish coveralls report | |
uses: coverallsapp/github-action@master | |
with: | |
path-to-lcov: "coverage/lcov.info" | |
github-token: ${{ secrets.GITHUB_TOKEN }} |