Skip to content

Commit

Permalink
Merge pull request #130 from pastak/run-ci-lint
Browse files Browse the repository at this point in the history
Run ci lint
  • Loading branch information
pastak authored Feb 12, 2025
2 parents 233f206 + 1780f6a commit 0fb9484
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 6 deletions.
9 changes: 9 additions & 0 deletions .changeset/cuddly-eggs-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"scrapbox-converter": patch
"html2sb-compiler": patch
"enex2sb": patch
"html2sb": patch
"md2sb": patch
---

fix linting with CI
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: |
pnpm install
pnpm run -r build
pnpm run -r eslint
pnpm run -r lint:ci
pnpm -r test
env:
CI: true
1 change: 1 addition & 0 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- uses: pnpm/action-setup@v4
with:
run_install: true
- run: pnpm run -r build
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"preinstall": "npx only-allow pnpm",
"clean": "rm -rf packages/*/dist",
"lint": "pnpm run -r lint",
"prepublishOnly": "pnpm run -r build"
"lint:fix": "pnpm run -r lint:fix",
"lint:ci": "pnpm run -r lint:ci"
},
"homepage": "https://github.com/pastak/scrapbox-converter#readme",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/enex2sb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"enex2sb": "dist/command/index.js"
},
"scripts": {
"prepublishOnly": "pnpm run build",
"build": "tsc --outDir dist --project .",
"watch": "pnpm run build -- --watch",
"lint": "biome check ./src ./test",
"lint:fix": "biome check --write ./src ./test",
"lint:ci": "biome ci ./src ./test",
"test": "vitest run",
"test:watch": "yarn test -- --watch"
},
Expand Down
1 change: 1 addition & 0 deletions packages/html2sb-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build": "tsc --outDir dist --project .",
"lint": "biome check ./src ./test",
"lint:fix": "biome check --write ./src ./test",
"lint:ci": "biome ci ./src ./test",
"test": "vitest run",
"test:update-token": "UPDATE_TOKEN=1 pnpm run test"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/html2sb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"scripts": {
"build": "tsc --outDir dist --project .",
"watch": "pnpm run build -- --watch",
"prepublishOnly": "rm -rf dist/* && pnpm run build",
"test": "vitest run",
"lint": "biome check ./src ./test",
"lint:fix": "biome check --write ./src ./test",
"lint:ci": "biome ci ./src ./test",
"test:watch": "pnpm test -- --watch"
},
"homepage": "https://github.com/pastak/scrapbox-converter/tree/master/packages/html2sb#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/md2sb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"author": "pastak <pasta0915@gmail.com>",
"license": "MIT",
"scripts": {
"prepublishOnly": "pnpm run build",
"build": "tsc --outDir dist --project .",
"watch": "pnpm run build -- --watch",
"test": "vitest run",
"lint": "biome check ./src ./test",
"lint:fix": "biome check --write ./src ./test",
"lint:ci": "biome ci ./src ./test",
"test:watch": "pnpm test -- --watch"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/scrapbox-converter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"author": "pastak <pasta0915@gmail.com>",
"license": "MIT",
"scripts": {
"prepublishOnly": "pnpm run build",
"build": "tsc --outDir dist --project .",
"lint": "biome check ./src",
"lint:fix": "biome check --write ./src",
"lint:ci": "biome ci ./src",
"watch": "pnpm run build -- --watch"
},
"dependencies": {
Expand Down

0 comments on commit 0fb9484

Please # to comment.