Skip to content

Commit

Permalink
Explicitly build lib during release workflow (#96)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AndrewFerr authored Jul 31, 2024
1 parent bff0db6 commit 48e8ddd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
git commit -am "${{ github.event.inputs.version-bump }} version bump"
git push
- name: 📖 Build lib
run: yarn build

- name: 🚀 Publish to npm
id: npm-publish
uses: JS-DevTools/npm-publish@v3
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"author": "The Matrix.org Foundation C.I.C.",
"license": "Apache-2.0",
"scripts": {
"prepublishOnly": "yarn build",
"start": "tsc -w",
"clean": "rimraf lib dist",
"build": "yarn clean && yarn build:compile && yarn build:types && yarn build:browser",
Expand Down

0 comments on commit 48e8ddd

Please sign in to comment.