fix/ci-pub #14
1 changed files with 5 additions and 5 deletions
|
|
@ -53,10 +53,10 @@ jobs:
|
||||||
needs: build
|
needs: build
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: oven/bun:1
|
container: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install git
|
- name: Install git
|
||||||
run: apt-get update && apt-get install -y git
|
run: apt-get update && apt-get install -y git nodejs npm
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -64,10 +64,10 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install --frozen-lockfile
|
run: bun install --frozen-lockfile
|
||||||
|
|
||||||
- name: Download ${{ steps.meta.outputs.name }}.zip
|
- name: Download Artifacts
|
||||||
uses: https://code.forgejo.org/forgejo/download-artifact@v4
|
uses: https://code.forgejo.org/forgejo/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.meta.outputs.name }}.zip
|
name: ${{ needs.build.outputs.artifact_name }}.zip
|
||||||
path: packages/library/dist
|
path: packages/library/dist
|
||||||
|
|
||||||
- name: Set package version
|
- name: Set package version
|
||||||
|
|
@ -86,7 +86,7 @@ jobs:
|
||||||
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
|
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
|
|
||||||
- name: Publish package
|
- name: Publish package
|
||||||
run: bun publish --registry https://git.mcpeakdev.com/api/packages/mcpeakdev/npm/
|
run: npm publish --registry https://git.mcpeakdev.com/api/packages/mcpeakdev/npm/
|
||||||
working-directory: packages/library
|
working-directory: packages/library
|
||||||
|
|
||||||
publish-docs:
|
publish-docs:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue