Skip to content

build(deps-dev): bump @commitlint/cli from 17.4.4 to 17.6.0 #41

build(deps-dev): bump @commitlint/cli from 17.4.4 to 17.6.0

build(deps-dev): bump @commitlint/cli from 17.4.4 to 17.6.0 #41

Workflow file for this run

name: lint-and-build
on:
pull_request:
branches: master
push:
branches: master
jobs:
lint-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3.1.1
with:
node-version: 18
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn tsc
- run: yarn build