Skip to content

Commit b187056

Browse files
committed
Always build before publishing
1 parent b2a8193 commit b187056

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
node-version: 16.x
2020
cache: pnpm
2121
- run: pnpm install
22-
- run: pnpm run build
2322
- run: npm publish
2423
env:
2524
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77
"scripts": {
88
"build": "rollup -c",
99
"changelog": "lerna-changelog",
10-
"lint": "eslint . --cache",
1110
"lint:fix": "eslint . --fix",
11+
"lint": "eslint . --cache",
12+
"prepublish": "rollup -c",
1213
"release": "dotenv release-it --",
13-
"test": "jest",
14-
"test:watch": "jest --watch"
14+
"test:watch": "jest --watch",
15+
"test": "jest"
1516
},
1617
"repository": {
1718
"type": "git",

0 commit comments

Comments
 (0)