File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "withoutPublish": true,
33 "tempDir": "package",
4- "files": [".eslintrc.json", "**/*.spec.js"]
4+ "fields": ["scripts", "publishConfig"],
5+ "files": ["**/*.spec.js"]
56}
Original file line number Diff line number Diff line change 2828 - name : Install dependencies
2929 run : pnpm install
3030 - name : Run tests
31- run : pnpm test
31+ run : pnpm test:unit
32+ lint :
33+ runs-on : ubuntu-latest
34+ name : lint
35+ steps :
36+ - name : Checkout the repository
37+ uses : actions/checkout@v4
38+ - name : Install pnpm
39+ uses : pnpm/action-setup@v4
40+ with :
41+ version : 10
42+ - name : Install Node.js
43+ uses : actions/setup-node@v4
44+ with :
45+ node-version : 20
46+ cache : ' pnpm'
47+ - name : Install dependencies
48+ run : pnpm install
49+ - name : Lint files
50+ run : pnpm lint
You can’t perform that action at this time.
0 commit comments