feat(build): 🏗️ Build plain JS for NPM

This commit is contained in:
Jesse Wierzbinski 2024-07-22 23:10:12 +02:00
parent 8a4b246f01
commit 2bf97bc914
No known key found for this signature in database
4 changed files with 25 additions and 14 deletions

View file

@ -53,9 +53,8 @@ jobs:
node-version: "22"
registry-url: "https://registry.npmjs.org"
# Code is not minified and bundled anymore
#- name: Build
# run: bun run build
- name: Build
run: bun run build
- name: Change version in package.json to ${{ github.event.inputs.version }}, defaulting to the truncated commit hash
run: 'sed -i ''s/"version": ".*"/"version": "${{ github.event.inputs.version }}"/'' package.json ${{ github.event.inputs.package }}/package.json ${{ github.event.inputs.package }}/jsr.jsonc'