Skip to content

build: configure yarn to use locally saved yarn #103

build: configure yarn to use locally saved yarn

build: configure yarn to use locally saved yarn #103

Workflow file for this run

name: Code Quality Checks
on:
pull_request:
branches:
- '**'
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
linting:
name: ESLint
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 1
- uses: actions/setup-node@v6
with:
node-version: 'lts/*'
- uses: actions/cache@v4
name: Yarn Cache
id: yarn-cache
with:
path: .yarn/
key: ${{ runner.os }}-yarn-${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Yarn Install
uses: nick-fields/retry@v3
with:
timeout_minutes: 3
retry_wait_seconds: 30
max_attempts: 3
command: yarn
- name: Lint
run: yarn lint
typescript:
name: TypeScript Build Validation
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 1
- uses: actions/setup-node@v6
with:
node-version: 'lts/*'
- uses: actions/cache@v4
name: Yarn Cache
id: yarn-cache
with:
path: .yarn/
key: ${{ runner.os }}-yarn-${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Yarn Install
uses: nick-fields/retry@v3
with:
timeout_minutes: 3
retry_wait_seconds: 30
max_attempts: 3
command: yarn
- name: Lint
run: yarn tsc:compile
typedoc:
name: TypeDoc Generation
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 1
- uses: actions/setup-node@v6
with:
node-version: 'lts/*'
- uses: actions/cache@v4
name: Yarn Cache
id: yarn-cache
with:
path: .yarn/
key: ${{ runner.os }}-yarn-${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Yarn Install
uses: nick-fields/retry@v3
with:
timeout_minutes: 3
retry_wait_seconds: 30
max_attempts: 3
command: yarn
- name: Generate TypeDoc
run: yarn build:docs