From ff89c12377054213fb8c7ef6124a6fea130a54df Mon Sep 17 00:00:00 2001 From: Matthias Zaunseder Date: Tue, 11 Jun 2024 16:14:05 +0200 Subject: [PATCH] Fix npm publish --- .github/workflows/npm-publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2a970b2..409d2a9 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -22,6 +22,11 @@ jobs: steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v1 + # Setup .npmrc file to publish to npm + - uses: actions/setup-node@v4 + with: + node-version: 20.x + registry-url: https://registry.npmjs.org - run: bun install - run: bun run build - run: npm publish