Repository navigation
chore: gate check (authorized security test) #163
Workflow file for this run
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: Main | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: ~ | |
| jobs: | |
| run-basic-checks: | |
| name: Run linters and unit tests | |
| runs-on: [self-hosted] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: '14.x' | |
| - run: npm install -g yarn | |
| - run: yarn install | |
| - run: yarn setup | |
| - run: yarn lint | |
| - run: yarn test | |
| run-integration: | |
| name: Setup and run integration tests | |
| needs: [run-basic-checks] | |
| runs-on: [self-hosted] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: '14.x' | |
| - run: npm install -g yarn | |
| - run: yarn install | |
| - run: yarn setup | |
| - name: Setup Optimism L2 network | |
| run: yarn script:oe:up | |
| - run: yarn test --network optimism | |
| - name: Tear down Optimism L2 network | |
| run: yarn script:oe:clean |