File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 8
8
- name : Checkout
9
9
uses : actions/checkout@v4
10
10
11
- - name : Install pnpm
12
- uses : pnpm/action-setup@v3
11
+ # - name: Install pnpm
12
+ # uses: pnpm/action-setup@v3
13
13
14
14
- name : Install Cypress
15
15
run : npx cypress install
@@ -18,12 +18,16 @@ jobs:
18
18
uses : actions/setup-node@v4
19
19
with :
20
20
node-version : 20
21
- cache : pnpm
21
+ # cache: pnpm
22
22
23
- - run : pnpm install --no-frozen-lockfile
24
- - run : pnpm build
25
- # - run: pnpm compile
26
- - run : pnpm test
23
+ - run : npm install
24
+ - run : npm run check:ts
25
+ - run : npm run lint:ts
26
+ - run : npm run lint:css
27
+ - run : npm run build-vite
28
+ - run : pnp run compile-scss
29
+ - run : npm run clean-coverage
30
+ - run : npx cypress run
27
31
28
32
- name : Upload coverage report on Node 20 to coveralls.io...
29
33
uses : coverallsapp/github-action@master
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const config = {
3
3
{
4
4
filePath : "./src/ts/index.ts" ,
5
5
outFile : "./dist/js/navbar.d.ts" ,
6
- noCheck : false ,
6
+ noCheck : true ,
7
7
output : {
8
8
umdModuleName : 'Navbar' ,
9
9
noBanner : true ,
Original file line number Diff line number Diff line change 47
47
"check:ts" : " tsc --noEmit" ,
48
48
"fix:css" : " stylelint --config .stylelintrc.json --fix scss \" src/scss/*.scss\" " ,
49
49
"lint:css" : " stylelint --config .stylelintrc.json scss \" src/scss/*.scss\" " ,
50
- "build" : " pnpm check:ts && pnpm lint:ts && pnpm build-vite && pnpm dts" ,
51
- "build-vite" : " vite build && pnpm docs " ,
50
+ "build" : " pnpm check:ts && pnpm lint:ts && pnpm build-vite && pnpm dts && pnpm docs " ,
51
+ "build-vite" : " vite build" ,
52
52
"dts" : " dts-bundle-generator --config ./dts.config.ts" ,
53
53
"docs" : " ncp dist/js/navbar.js docs/src/js/navbar.js && ncp dist/js/navbar.js.map docs/src/js/navbar.js.map" ,
54
54
"compile" : " pnpm lint:css && npm-run-all --parallel compile-* && pnpm copy-compile" ,
File renamed without changes.
You can’t perform that action at this time.
0 commit comments