mirror of
https://github.com/versia-pub/api.git
synced 2026-03-12 20:09:14 +01:00
fix: 💚 Fix NPM not finding built JS
This commit is contained in:
parent
718eb152b0
commit
ff6bf16b0a
3 changed files with 136 additions and 3 deletions
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
|
@ -56,7 +56,7 @@ jobs:
|
|||
- name: Build
|
||||
run: bun install && bun run build
|
||||
|
||||
- name: Change version in package.json to ${{ github.event.inputs.version }}, defaulting to the truncated commit hash
|
||||
- name: Change version in package.json to ${{ github.event.inputs.version }}
|
||||
run: 'sed -i ''s/"version": ".*"/"version": "${{ github.event.inputs.version }}"/'' package.json ${{ github.event.inputs.package }}/package.json ${{ github.event.inputs.package }}/jsr.jsonc'
|
||||
|
||||
- name: Publish to NPM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue