mirror of
https://github.com/versia-pub/api.git
synced 2026-03-12 20:09:14 +01:00
feat(build): 🏗️ Build plain JS for NPM
This commit is contained in:
parent
8a4b246f01
commit
2bf97bc914
4 changed files with 25 additions and 14 deletions
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue