Skip to content

Commit

Permalink
Add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nikeee committed Apr 2, 2024
1 parent 77fae84 commit b363105
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
registry-url: https://registry.npmjs.org

- run: npm ci
- run: npm run compile
- run: npm run ci
- run: npm run build
- run: npm test
env:
CI: true
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
cache: npm

- run: npm ci
- run: npm run compile
- run: npm run ci
- run: npm run build
- run: npm test
env:
CI: true
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"scripts": {
"bundle": "pkg package.json",
"clean": "rimraf lib",
"compile": "tsc",
"build": "tsc",
"ci": "biome ci ./src",
"format": "biome format --write ./src",
"lint": "biome lint ./src",
"lint:fix": "biome lint --apply ./src",
"test": "tsc --noEmit",
"prepare": "npm run clean && npm run compile"
"prepare": "npm run clean && npm run build"
},
"bin": {
"dot-language-server": "bin/server.js"
Expand Down

0 comments on commit b363105

Please sign in to comment.