Skip to content

Commit

Permalink
fix: ci fail
Browse files Browse the repository at this point in the history
  • Loading branch information
chaxus committed Jun 16, 2024
1 parent 4a49263 commit bb0fa06
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
- name: Install deps
run: pnpm install

- name: format
run: pnpm run format
# - name: format
# run: pnpm run format

- name: Lint
run: pnpm run lint
Expand Down
5 changes: 3 additions & 2 deletions bin/lint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

bin=./node_modules/.bin
$bin/eslint --cache . && $bin/prettier --check --cache .
# bin=./node_modules/.bin
# $bin/eslint --cache . && $bin/prettier --check --cache .
npm run lint:es && npm run lint:prettier
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build": "sh ./bin/build.sh",
"test": "sh ./bin/test.sh",
"lint": "sh ./bin/lint.sh",
"lint:ts": "eslint --cache .",
"lint:es": "eslint --cache .",
"lint:fix": "eslint --cache --fix",
"lint:prettier": "prettier --check --cache .",
"format": "prettier --write --cache .",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/variable/SERVICE_WORK_VERSION.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const SERVICE_WORK_VERSION = '1718441488';
export const SERVICE_WORK_VERSION = "1718524321"
2 changes: 1 addition & 1 deletion packages/ranuts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "module",
"types": "dist/index.d.ts",
"engines": {
"node": "^21.0.0"
"node": "^18.0.0 || >=21.0.0"
},
"exports": {
".": {
Expand Down

0 comments on commit bb0fa06

Please sign in to comment.