Skip to content

Commit fd15e71

Browse files
committed
1 parent d8a720b commit fd15e71

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-5
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ jobs:
88
with:
99
node-version: 15
1010
registry-url: https://registry.npmjs.org/
11-
- run: npm publish
11+
- run: npm install-ci-test
12+
- run: npm run build && npm publish
1213
if: startsWith(github.ref, 'refs/tags/v')
1314
env:
1415
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
15-
- run: npm ci && npm run build
16-
if: startsWith(github.ref, 'refs/tags/v')
1716
- uses: actions/create-release@v1
1817
if: startsWith(github.ref, 'refs/tags/v')
1918
id: create_release

package-lock.json

Lines changed: 20 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "2.2.1",
44
"description": "Remote control OBS from the command line.",
55
"scripts": {
6+
"test": "prettier --check \"index.js\" --end-of-line auto",
67
"build": "pkg --targets latest-macos,latest-win,latest-linux --out-path pkg ."
78
},
89
"keywords": [
@@ -21,6 +22,7 @@
2122
"obs-websocket-js": "^4.0.2"
2223
},
2324
"devDependencies": {
24-
"pkg": "^4.4.9"
25+
"pkg": "^4.4.9",
26+
"prettier": "^2.2.1"
2527
}
2628
}

0 commit comments

Comments
 (0)