Skip to content

Add a better mechanism for variables management #4834

Add a better mechanism for variables management

Add a better mechanism for variables management #4834

Workflow file for this run

name: Lint
on:
push:
branches: [$default-branch]
pull_request:
branches:
- "**"
workflow_dispatch:
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: yarn
cache-dependency-path: |
yarn.lock
docs/yarn.lock
- name: Install
run: yarn --frozen-lockfile
- name: Build
run: yarn build
- name: lint
run: yarn lint
- name: Check dependency versions
run: node scripts/check-dependencies.js
- name: Install website
working-directory: docs/
run: yarn
- name: Lint website
working-directory: docs/
run: yarn lint