Skip to content

Commit

Permalink
fix ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
thednp committed Sep 19, 2024
1 parent 071eb27 commit 40ea038
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 2,036 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ jobs:
- name: Build CSS
run: pnpm compile-scss

- name: Copy CSS
run: pnpm copy-css-cp

- name: Copy JS
run: pnpm docs
- name: Copy Assets
run: pnpm copy

- name: Clean coverage
run: pnpm clean-coverage
Expand Down
4 changes: 2 additions & 2 deletions docs/js/color-picker.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js/color-picker.js.map

Large diffs are not rendered by default.

17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test-ui": "pnpm pre-test && vitest --config vitest.config-ui.ts --browser=chrome",
"badges": "npx -p dependency-version-badge update-badge typescript eslint prettier vitest vite",
"clean-coverage": "rm -rf coverage && rm -rf .nyc_output",
"prepublishOnly": "pnpm up && pnpm format && pnpm lint && pnpm build && pnpm badges && pnpm compile && pnpm dts",
"prepublishOnly": "pnpm up && pnpm format && pnpm lint && pnpm build && pnpm compile && pnpm badges && pnpm copy",
"coverage:report": "nyc report --reporter=lcov --reporter=json --reporter=text --reporter=json-summary",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "pnpm lint:ts && pnpm check:ts && pnpm lint:css",
Expand All @@ -50,13 +50,14 @@
"check:ts": "tsc --noEmit",
"fix:css": "stylelint --config .stylelintrc.json --fix scss \"src/scss/*.scss\"",
"lint:css": "stylelint --config .stylelintrc.json scss \"src/scss/*.scss\"",
"build": "vite build && pnpm docs",
"build": "vite build && pnpm dts",
"dev": "vite --open ./docs/dev.html --port 8577",
"dts": "dts-bundle-generator --config ./dts.config.ts",
"docs": "ncp dist/js/color-picker.js ./docs/js/color-picker.js && ncp dist/js/color-picker.js.map docs/js/color-picker.js.map",
"copy": "pnpm copy-css-cp && pnpm copy-css-rtl",
"copy-css-cp": "ncp dist/css/color-picker.css docs/css/color-picker.css",
"copy-css-rtl": "ncp dist/css/color-picker.rtl.css docs/css/color-picker.rtl.css",
"dts": "pnpm dts-bundle-generator --config ./dts.config.ts",
"copy": "pnpm copy-css-cp && pnpm copy-css-rtl && pnpm copy-js && pnpm copy-js-map",
"copy-js": "cp dist/js/color-picker.js docs/js/color-picker.js",
"copy-js-map": "cp dist/js/color-picker.js.map docs/js/color-picker.js.map",
"copy-css-cp": "cp dist/css/color-picker.css docs/css/color-picker.css",
"copy-css-rtl": "cp dist/css/color-picker.rtl.css docs/css/color-picker.rtl.css",
"compile": "pnpm lint:css && pnpm compile-scss && pnpm compile-scss-min && pnpm compile-scss-rtl && pnpm compile-scss-rtl-min && pnpm copy",
"compile-scss": "node compile.cjs",
"compile-scss-min": "node compile.cjs MIN:true",
Expand Down Expand Up @@ -99,8 +100,6 @@
"eslint-plugin-jsdoc": "^46.10.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^5.2.1",
"ncp": "^2.0.0",
"nyc": "^15.1.0",
"playwright": "^1.47.1",
"prettier": "^3.3.3",
"sass": "^1.79.1",
Expand Down
Loading

0 comments on commit 40ea038

Please sign in to comment.