File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,14 +12,18 @@ jobs:
1212 node-version : [14.x]
1313
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v3
16+ - uses : pnpm/action-setup@v2
17+ with :
18+ version : 7
1619 - name : Use Node.js ${{ matrix.node-version }}
17- uses : actions/setup-node@v2
20+ uses : actions/setup-node@v3
1821 with :
1922 node-version : ${{ matrix.node-version }}
23+ cache : ' pnpm'
2024 - name : Install dependencies
21- run : yarn
25+ run : pnpm install
2226 - name : Build
23- run : yarn build:prod
27+ run : pnpm run build:prod
2428 - name : Run tests
25- run : yarn test
29+ run : pnpm run test
Original file line number Diff line number Diff line change 2929 "format" : " prettier src/**/*.ts scripts/**/*.js --write" ,
3030 "build" : " rimraf dist && cross-env NODE_ENV=development node scripts/build.js" ,
3131 "build:prod" : " rimraf dist && cross-env NODE_ENV=production node scripts/build.js" ,
32- "test" : " yarn build:prod && vitest run --coverage" ,
32+ "test" : " pnpm build:prod && vitest run --coverage" ,
3333 "node:script" : " node -r esm ./scripts/generate/run-node.js" ,
3434 "demo" : " pnpm run build && vite --port 3000" ,
3535 "patch" : " generi log patch" ,
You can’t perform that action at this time.
0 commit comments