Publish Lilybird #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Lilybird | |
on: | |
workflow_dispatch: | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install Dependencies | |
run: bun i --frozen-lockfile | |
# bun doesnt support methods like `-ws`, `-w or similar yet | |
- name: Hop into the folder | |
run: cd packages/core | |
- name: Build | |
run: bun run build | |
- name: Publish core | |
# Bun doesnt have any publish methods yet | |
run: npm publish --provenance --no-git-checks --access public | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM}} |