Skip to content

Commit

Permalink
Add deno lint to prepare and publish 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmcd committed May 8, 2024
1 parent 16f1e15 commit 294d12f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,11 @@ jobs:
run: npm ci
env:
CI: true
- name: build
run: npm run build
- name: prepare
run: npm run prepare
env:
CI: true
- name: vitest
run: npm run test
env:
CI: true
- name: deno lint
run: |
cd deno-bootstrap
deno lint
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "deno-http-worker",
"version": "0.0.1",
"version": "0.0.2",
"description": "",
"main": "dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"lint" : "npm run lint:deno-bootstrap && npm run lint:deno-test-files",
"lint:deno-bootstrap": "cd deno-bootstrap && deno lint",
"lint:deno-test-files": "cd src/test && deno lint",
"build": "tsc --build",
"prepare": "npm run build"
"prepare": "npm run lint && npm run build"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"rootDir": "./src",
"outDir": "./dist"
},
"exclude": ["dist", "deno-bootstrap"]
"exclude": ["dist", "deno-bootstrap", "src/test"]
}

0 comments on commit 294d12f

Please sign in to comment.