mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-03-24 14:10:23 +08:00
chore: update node and pnpm
This commit is contained in:
13
.github/workflows/lint.yml
vendored
13
.github/workflows/lint.yml
vendored
@@ -31,14 +31,15 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
- name: Set up pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: '16'
|
||||
cache: yarn
|
||||
node-version: '25.8.1'
|
||||
cache: pnpm
|
||||
cache-dependency-path: pnpm-lock.yaml
|
||||
- name: Installation
|
||||
run: yarn
|
||||
- name: Check immutable yarn.lock
|
||||
run: git diff --exit-code
|
||||
run: pnpm install --frozen-lockfile
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
run: pnpm lint
|
||||
|
||||
15
.github/workflows/tsc.yml
vendored
15
.github/workflows/tsc.yml
vendored
@@ -21,17 +21,18 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
- name: Set up pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: '16'
|
||||
cache: yarn
|
||||
node-version: '25.8.1'
|
||||
cache: pnpm
|
||||
cache-dependency-path: pnpm-lock.yaml
|
||||
- name: Installation
|
||||
run: yarn
|
||||
- name: Check immutable yarn.lock
|
||||
run: git diff --exit-code
|
||||
run: pnpm install --frozen-lockfile
|
||||
# Build the shared types in dependent packages.
|
||||
- name: Build dependencies
|
||||
run: yarn turbo run build --filter=ui
|
||||
run: pnpm turbo run build --filter=ui
|
||||
- name: Typecheck
|
||||
run: yarn tsc
|
||||
run: pnpm tsc
|
||||
|
||||
Reference in New Issue
Block a user