Skip to content

Commit 48e8ddd

Browse files
authored
Explicitly build lib during release workflow (#96)
Also remove the `prepublishOnly` script, as it is no longer supported by newer Yarn versions, and isn't needed for the release workflow anyhow. Fixes #95
1 parent bff0db6 commit 48e8ddd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
git commit -am "${{ github.event.inputs.version-bump }} version bump"
4141
git push
4242
43+
- name: 📖 Build lib
44+
run: yarn build
45+
4346
- name: 🚀 Publish to npm
4447
id: npm-publish
4548
uses: JS-DevTools/npm-publish@v3

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"author": "The Matrix.org Foundation C.I.C.",
99
"license": "Apache-2.0",
1010
"scripts": {
11-
"prepublishOnly": "yarn build",
1211
"start": "tsc -w",
1312
"clean": "rimraf lib dist",
1413
"build": "yarn clean && yarn build:compile && yarn build:types && yarn build:browser",

0 commit comments

Comments
 (0)