From a1ae017bd14e2806689666cd7cf5f3e0c1374ecc Mon Sep 17 00:00:00 2001 From: Jonas Almeida Date: Mon, 27 Jan 2025 13:29:54 -0300 Subject: [PATCH] Add Node.js setup to npm publish workflow --- .github/workflows/npm-publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 29a8631..751b9a2 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -12,6 +12,10 @@ jobs: steps: - uses: actions/checkout@v4 - 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 run build - name: Publish to NPM