Skip to content

Revert to using fancier reporter except in slow terminals #538

Revert to using fancier reporter except in slow terminals

Revert to using fancier reporter except in slow terminals #538

Workflow file for this run

name: Check change files, formatting, deps
on:
pull_request:
branches: [main, v1]
push:
branches: [main, v1]
concurrency:
# For PRs, use the ref (branch) in the concurrency group so that new pushes cancel any old runs.
# For pushes to main, ideally we wouldn't set a concurrency group, but github actions doesn't
# support conditional blocks of settings, so we use the SHA so the "group" is unique.
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.sha || github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
basic-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version-file: .nvmrc
- run: yarn --immutable
- name: Code Format Check
run: yarn format:check
- name: Check Change Files
run: yarn checkchange
# @see https://www.npmjs.com/package/syncpack
- name: Check consistent package.json dep versions
run: yarn syncpack:check
- name: Dependency checks
run: yarn deps:check