build(deps): bump the npm_and_yarn group across 4 directories with 10 updates #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
cache-dependency-path: | | |
pnpm-lock.yaml | |
docs/pnpm-lock.yaml | |
- name: Install | |
run: pnpm install --frozen-lockfile --prefer-offline | |
- name: Build | |
run: pnpm build | |
- name: lint | |
run: pnpm lint | |
- name: Check dependency versions | |
run: node scripts/check-dependencies.js | |
- name: Install website | |
working-directory: docs/ | |
run: pnpm install --frozen-lockfile --prefer-offline | |
- name: Lint website | |
working-directory: docs/ | |
run: pnpm lint |