Test Base deployment #156
This file contains hidden or 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: | |
| - master | |
| pull_request: | |
| branches: | |
| - '**' | |
| env: | |
| NODEJS_VERSION: '20' | |
| jobs: | |
| check: | |
| name: Check Code Quality & Run Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js and Yarn | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODEJS_VERSION }} | |
| cache: 'yarn' | |
| - name: Install Dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Check Formatting | |
| run: yarn format:check | |
| - name: Lint Code | |
| run: yarn lint | |
| - name: Compile Code | |
| run: yarn compile | |
| - name: Test | |
| run: yarn hardhat test | |
| - name: Coverage | |
| run: yarn test:coverage |