Skip to content

version([email protected]): Add Coal Recipe

version([email protected]): Add Coal Recipe #29

Workflow file for this run

name: Publish Packages to NPM
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- uses: oven-sh/setup-bun@v1
- run: bun install
# update npm for provenance support
- run: npm --version && npm install -g npm && npm --version
# make extra sure this publish wouldn’t break anything
- run: bun run build check test
- name: publish
run: bun internals/scripts/source/publish.mts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}