Skip to content

Commit

Permalink
Run lint in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-grace committed Jan 29, 2025
1 parent 609ea2f commit 2527ea2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
cache: npm
- run: npm ci
- run: npm run test
- run: npm run build
- run: npm run ci
- run: npm publish
if: github.event_name == 'release' && github.event.action == 'created'
env:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"build:esm": "tsc -p tsconfig.json && echo '{\"type\": \"module\"}' > dist/esm/package.json",
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"build": "npm run build:esm && npm run build:cjs",
"ci": "npm run build && npm run test && npx prettier --check .",
"lint": "eslint",
"ci": "npm run build && npm run test && npm run lint && prettier --check .",
"test": "vitest",
"docs": "typedoc --options typedoc.json"
},
Expand Down

0 comments on commit 2527ea2

Please sign in to comment.