chore: rm custom GH actions runner #57
Workflow file for this run
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: Checks | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
branches: | |
- master # Keeps the action's cache up-to-date to be shared with PRs | |
env: | |
DISABLE_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'disable-nx-cache') && 'yes' || 'no' }} | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ExodusMovement/actions/setup/lerna@master | |
with: | |
npm-token: ${{ secrets.NPM_TOKEN }} | |
disable-nx-cache: ${{ env.DISABLE_NX_CACHE }} | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Lint | |
run: yarn lint | |
- name: Format | |
run: yarn format:check | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
timeout-minutes: 35 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ExodusMovement/actions/setup/lerna@master | |
with: | |
npm-token: ${{ secrets.NPM_TOKEN }} | |
disable-nx-cache: ${{ env.DISABLE_NX_CACHE }} | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Build | |
run: yarn build | |
- name: Test | |
run: yarn test | |
- name: Coverage report | |
uses: ExodusMovement/lerna-coverage-report-action@main | |
with: | |
github-token: ${{ secrets.GH_AUTOMATION_PAT }} | |
gist-id: ${{ secrets.COVERAGE_GIST_ID }} | |
gist-user: exodus-github-hydra-bot | |
integration-test: | |
name: Test (Integration) | |
runs-on: ubuntu-latest | |
timeout-minutes: 35 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ExodusMovement/actions/setup/lerna@master | |
with: | |
npm-token: ${{ secrets.NPM_TOKEN }} | |
disable-nx-cache: ${{ env.DISABLE_NX_CACHE }} | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Integration Test | |
run: yarn test:integration -- --runInBand | |
- name: Coverage report | |
uses: ExodusMovement/lerna-coverage-report-action@main | |
with: | |
github-token: ${{ secrets.GH_AUTOMATION_PAT }} | |
gist-id: ${{ secrets.COVERAGE_GIST_ID }} | |
gist-user: exodus-github-hydra-bot |