Skip to content

chore(release): 2.3.1 #6775

chore(release): 2.3.1

chore(release): 2.3.1 #6775

Workflow file for this run

name: Lint
on: push
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Checkout Git repository
uses: actions/checkout@v3
- run: git fetch origin main # needed for commitlint
- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
- name: Setup Node (uses version from .nvmrc)
uses: actions/setup-node@v3
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}
- name: Get Yarn cache directory path
run: echo ::set-output name=DIR::$(yarn cache dir)
id: yarn-cache
- name: Cache Yarn
uses: actions/cache@v3.2.5
with:
path: ${{ steps.yarn-cache.outputs.DIR }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Node dependencies
run: yarn --frozen-lockfile --prefer-offline
- name: Run commitlint
if: github.actor != 'dependabot[bot]' # allow long commit message body
run: yarn lint:commit
- name: Run stylelint
run: yarn lint:style
- name: Run ESLint
run: yarn lint:es
- name: Run tsc (type check)
run: yarn lint:ts
- name: Run Prettier
run: yarn lint:prettier