File tree Expand file tree Collapse file tree 3 files changed +39
-21
lines changed
Expand file tree Collapse file tree 3 files changed +39
-21
lines changed Original file line number Diff line number Diff line change 11name : ci
2+
23on :
34 push :
45 branches : [ main ]
56 pull_request :
67 branches : [ main ]
7- workflow_dispatch :
88
99permissions :
1010 contents : read
11+ pull-requests : write
1112
1213jobs :
13- build :
14+ test :
1415 runs-on : ubuntu-latest
1516 steps :
1617 - uses : actions/checkout@v4
1920 node-version-file : package.json
2021 - run : npm ci
2122 - run : npm run build
23+ lint :
24+ runs-on : ubuntu-latest
25+ steps :
26+ - uses : actions/checkout@v4
27+ - uses : actions/setup-node@v4
28+ with :
29+ node-version-file : package.json
30+ - run : npm ci
31+ - run : npm run lint
Original file line number Diff line number Diff line change 66 "build" : " rollup -c" ,
77 "dev" : " rollup -c -w" ,
88 "start" : " sirv docs --no-clear" ,
9- "check" : " svelte-check"
9+ "check" : " svelte-check" ,
10+ "lint" : " svelte-check"
1011 },
1112 "devDependencies" : {
1213 "@rollup/plugin-commonjs" : " ^25.0.7" ,
2526 },
2627 "dependencies" : {
2728 "sirv-cli" : " ^2.0.2" ,
28- "svelte-persisted-store" : " ^0.11.0"
29+ "svelte-persisted-store" : " ^0.11.0" ,
30+ "typescript" : " ^5.7.3"
2931 },
30- "engines" : {
31- "npm" : " >=10" ,
32- "node" : " >=18.0.0"
32+ "engines" : {
33+ "npm" : " >=10" ,
34+ "node" : " >=18.0.0"
3335 }
3436}
You can’t perform that action at this time.
0 commit comments