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

Commit

Permalink
migrate to pnpm workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
ubugeeei committed Apr 19, 2024
1 parent 942239c commit c64ea08
Show file tree
Hide file tree
Showing 45 changed files with 6,289 additions and 8,075 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,32 @@ name: check
on:
push:
branches:
- main
- vuefes-2024
pull_request:
branches:
- main
- vuefes-2024

env:
NODE_VERSION: 20.x

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Restore Packages
run: npm ci
- name: Run lint
run: npm run lint
- name: Run textlint
run: npm run textlint:docs
node-version: 20.x
cache: pnpm
- name: Setup
run: npm i -g @antfu/ni
- name: Install
run: nci
- name: app/lint
run: nr app lint
- name: docs/lint
run: nr docs lint:text
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"handson",
"textlint",
"vitepress",
"vuefes",
"vuejs"
]
}
16 changes: 0 additions & 16 deletions docs/package.json

This file was deleted.

Loading

0 comments on commit c64ea08

Please sign in to comment.