Add Node.js setup to npm publish workflow

This commit is contained in:
Jonas Almeida 2025-01-27 13:29:54 -03:00
parent ba486b5c15
commit a1ae017bd1

View File

@ -12,6 +12,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2 - uses: oven-sh/setup-bun@v2
- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: bun install - run: bun install
- run: bun run build - run: bun run build
- name: Publish to NPM - name: Publish to NPM