Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
shijinn520 committed Jun 29, 2024
1 parent 161d037 commit 62c1670
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: 全局安装 typescript
run: npm install -g typescript
- name: 安装依赖
run: npm install

- name: 编译index.ts
run: tsc
run: npx tsc

- name: 全局安装 protobufjs-cli
run: npm install -g protobufjs-cli
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"url": "git+https://github.com/KarinJS/node-kritor.git"
},
"dependencies": {
"protobufjs": "^7.3.0"
"protobufjs": "^7.3.2"
},
"devDependencies": {
"typescript": "5.5.2"
},
"files": [
"protos/",
Expand Down

0 comments on commit 62c1670

Please sign in to comment.