fix: onStart
firing whenever runner is paused/unpaused
#13
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: checks | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
cache-dependency-path: "**/yarn.lock" | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile --prefer-offline | |
- name: Lint | |
run: yarn lint | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
cache-dependency-path: "**/yarn.lock" | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile --prefer-offline | |
- name: Test | |
run: yarn test --max-workers="75%" --coverage | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
cache-dependency-path: "**/yarn.lock" | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile --prefer-offline | |
- name: Build | |
run: yarn build |