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

Commit 8f9f7ea

Browse files
authored
Merge pull request #10 from IanSkelskey/dev
fix: update build command for CI environment
2 parents 79469f6 + 414e8fa commit 8f9f7ea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
# Step 4: Build the project
2929
- name: Build the project
30-
run: npm run build
30+
run: npm run build-ci
3131

3232
# Step 5: Publish to npm
3333
- name: Publish to npm

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
},
99
"scripts": {
1010
"build": "tsc && xcopy src\\rules dist\\rules /E /I",
11+
"build-ci": "tsc && cp -r src/rules dist/rules",
1112
"format": "prettier --write .",
1213
"format-check": "prettier --check .",
1314
"start": "node dist/main.js"

0 commit comments

Comments
 (0)