Skip to content

Commit 3b9381a

Browse files
committed
fix: try tweaking the publish script
1 parent 1e28956 commit 3b9381a

File tree

3 files changed

+44
-20
lines changed

3 files changed

+44
-20
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
- name: Checkout repository
1212
uses: actions/checkout@v2
1313
- name: Prepare env
14-
run: |
15-
yarn set version classic
16-
npm run build
14+
run: yarn set version classic
1715
- name: Publish if version has been updated
1816
uses: pascalgn/npm-publish-action@1.3.8
1917
with:
2018
tag_name: "v%s"
2119
tag_message: "v%s"
2220
commit_pattern: "^release: (\\S+)"
2321
workspace: "."
22+
publish_command: "yarn"
23+
publish_args: "--non-interactive"
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

package-lock.json

Lines changed: 38 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"homepage": "https://github.com/rexogamer/termivolt#readme",
2929
"dependencies": {
3030
"chalk": "^5.0.0",
31-
"revolt.js": "^5.2.7",
32-
"rimraf": "^3.0.2"
31+
"revolt.js": "^5.2.7"
3332
},
3433
"engines": {
3534
"node": "^12.13.0 || ^14.15.0 || >=16"
@@ -41,6 +40,7 @@
4140
],
4241
"devDependencies": {
4342
"@types/node": "^17.0.10",
44-
"@types/ws": "^8.2.2"
43+
"@types/ws": "^8.2.2",
44+
"rimraf": "^3.0.2"
4545
}
4646
}

0 commit comments

Comments
 (0)