Skip to content
This repository was archived by the owner on May 25, 2024. It is now read-only.

Commit afcc015

Browse files
committed
migrate to pnpm workspace
1 parent 942239c commit afcc015

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+5589
-8073
lines changed

Diff for: .github/workflows/check.yaml

+16-10
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,21 @@ env:
1414
jobs:
1515
lint:
1616
runs-on: ubuntu-latest
17+
1718
steps:
18-
- uses: actions/checkout@v2
19-
- uses: actions/setup-node@v2
19+
- uses: actions/checkout@v3
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v2
22+
- name: Set node
23+
uses: actions/setup-node@v3
2024
with:
21-
node-version: ${{ env.NODE_VERSION }}
22-
cache: npm
23-
- name: Restore Packages
24-
run: npm ci
25-
- name: Run lint
26-
run: npm run lint
27-
- name: Run textlint
28-
run: npm run textlint:docs
25+
node-version: 20.x
26+
cache: pnpm
27+
- name: Setup
28+
run: npm i -g @antfu/ni
29+
- name: Install
30+
run: nci
31+
- name: app/lint
32+
run: nr app lint
33+
- name: docs/lint
34+
run: nr docs lint:text

Diff for: docs/package.json

-16
This file was deleted.

0 commit comments

Comments
 (0)