Skip to content

Commit bb077c3

Browse files
committed
chore: cleanup
1 parent 150fea2 commit bb077c3

File tree

3 files changed

+5
-30
lines changed

3 files changed

+5
-30
lines changed

.circleci/config.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Release Package
55

66
on:
77
push:
8-
branches:
8+
branches:
99
- master
1010

1111
jobs:
@@ -28,7 +28,8 @@ jobs:
2828
${{ runner.os }}-yarn-
2929
- run: yarn
3030
- run: yarn test
31-
- run: npx semantic-release
31+
- run: yarn global add semantic-release
32+
- run: semantic-release
3233
env:
3334
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
3435
NPM_TOKEN: ${{secrets.NPM_TOKEN}}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"dist"
1515
],
1616
"scripts": {
17-
"test": "npm run build",
17+
"test": "echo skip",
1818
"lint": "xo",
19-
"prepublish": "npm run build",
19+
"prepublishOnly": "npm run build",
2020
"build": "npm run build:umd && npm run build:cjs",
2121
"build:umd": "bili --file-name \"vue-prism-component[min].js\" --format umd --format umd-min --env.NODE_ENV production --module-name PrismComponent --external prismjs",
2222
"build:cjs": "bili --file-name \"vue-prism-component.common.js\" --format cjs"

0 commit comments

Comments
 (0)