This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
Update pnpm to v8.7.0 #9
Workflow file for this run
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: Code check | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
if: github.event.pull_request.draft == false | |
name: Code check | |
env: | |
SKIP_ENV_VALIDATION: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: pnpm/action-setup@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: .nvmrc | |
cache: pnpm | |
cache-dependency-path: pnpm-lock.yaml | |
- name: Install deps | |
run: pnpm install --child-concurrency 3 --frozen-lockfile --prefer-offline | |
- name: Run eslint | |
run: pnpm lint | |
- name: Run prettier | |
run: pnpm format:check | |
- name: Run typescript | |
run: pnpm typecheck |