Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Oct 19, 2023
1 parent a29461a commit 068b84d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 38 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,16 @@ jobs:
with:
node-version: 18.x

- name: Install pnpm
uses: pnpm/action-setup@v2.0.1
with:
version: 8.7.0

- name: Install dependencies
run: npx pnpm install --no-frozen-lockfile
run: pnpm install --no-frozen-lockfile

- name: Lint
run: npm run lint
run: pnpm lint

- name: Test
run: npm run test
run: pnpm test
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"dev": "tsup --watch",
"build": "tsup",
"build:pages": "pnpm run build && cd playground/spa && pnpm run build",
"test:unit": "vitest run --coverage",
"test:unit": "vitest run",
"test": "run-s test:unit test:serve test:build",
"test:serve": "vitest run -c vitest.config.e2e.ts --coverage",
"test:build": "cross-env VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts --coverage",
"test:serve": "vitest run -c vitest.config.e2e.ts",
"test:build": "cross-env VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
"lint": "eslint .",
"preinstall": "npx only-allow pnpm",
"up": "pnpm update --i --L",
Expand Down
2 changes: 1 addition & 1 deletion playground/spa-file-mode/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "spa",
"name": "spa-file-mode",
"version": "0.0.0",
"private": true,
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion playground/ssr/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ssr-react",
"name": "ssr",
"version": "0.0.0",
"private": true,
"type": "module",
Expand Down
30 changes: 0 additions & 30 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 068b84d

Please sign in to comment.