Merge pull request #330 from tranchess/dev-bc-flashswap-v3 #1072
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: Continuous Integration | |
on: | |
push: | |
branches: [main, dev] | |
pull_request: | |
branches: [main, dev] | |
jobs: | |
test: | |
name: Unit Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js ${{ matrix.node-version }} environment | |
uses: actions/setup-node@v2.1.4 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Run unit test | |
run: yarn run test | |
check: | |
name: Lint and Format Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v2.1.4 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Check lint and format | |
run: yarn run check |