Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit 6c5dfff

Browse files
authored
Merge pull request #12 from codeoverflow-org/fix/version-in-releases
fix: build typescript in prepublish scripts
2 parents fd2e0ed + c34334c commit 6c5dfff

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ jobs:
1919

2020
- name: Install dependencies
2121
run: npm ci
22-
- name: Build
23-
run: npm run build
2422

2523
- name: Release
2624
env:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"format": "prettier --write \"./**/*.{ts,json,md,js}\"",
1414
"format-pre-commit": "pretty-quick --staged --pattern '*/**/*.{ts,json,md,js}'",
1515
"prepare": "husky install",
16-
"semantic-release": "semantic-release"
16+
"semantic-release": "semantic-release",
17+
"prepublish": "npm run build"
1718
},
1819
"bin": {
1920
"nodecg-io": "index.js"

0 commit comments

Comments
 (0)