From 696810c4c84edae85af48fcd88e29de8e8d17b3c Mon Sep 17 00:00:00 2001 From: DidaS Date: Tue, 30 Apr 2024 05:57:59 +0100 Subject: [PATCH] Added node to workflows This is required to be able to publish to npm, bun doesnt yet support it --- .github/workflows/publish-core.yml | 5 +++++ .github/workflows/publish-create.yml | 5 +++++ .github/workflows/publish-handlers.yml | 5 +++++ .github/workflows/publish-jsx.yml | 5 +++++ .github/workflows/publish-redis.yml | 5 +++++ .github/workflows/publish-transformers.yml | 5 +++++ 6 files changed, 30 insertions(+) diff --git a/.github/workflows/publish-core.yml b/.github/workflows/publish-core.yml index 1cf15c0..980fbfc 100644 --- a/.github/workflows/publish-core.yml +++ b/.github/workflows/publish-core.yml @@ -16,6 +16,11 @@ jobs: uses: oven-sh/setup-bun@v1 with: bun-version: latest + # This is needed to be able to properly publish to npm + - uses: actions/setup-node@v3 + with: + node-version: latest + registry-url: https://registry.npmjs.org - name: Install Dependencies run: bun i --frozen-lockfile # bun doesnt support methods like `-ws`, `-w or similar yet diff --git a/.github/workflows/publish-create.yml b/.github/workflows/publish-create.yml index 9c6f4bd..ee04b72 100644 --- a/.github/workflows/publish-create.yml +++ b/.github/workflows/publish-create.yml @@ -16,6 +16,11 @@ jobs: uses: oven-sh/setup-bun@v1 with: bun-version: latest + # This is needed to be able to properly publish to npm + - uses: actions/setup-node@v3 + with: + node-version: latest + registry-url: https://registry.npmjs.org - name: Install Dependencies run: bun i --frozen-lockfile # bun doesnt support methods like `-ws`, `-w or similar yet diff --git a/.github/workflows/publish-handlers.yml b/.github/workflows/publish-handlers.yml index 9255681..a905bb7 100644 --- a/.github/workflows/publish-handlers.yml +++ b/.github/workflows/publish-handlers.yml @@ -16,6 +16,11 @@ jobs: uses: oven-sh/setup-bun@v1 with: bun-version: latest + # This is needed to be able to properly publish to npm + - uses: actions/setup-node@v3 + with: + node-version: latest + registry-url: https://registry.npmjs.org - name: Install Dependencies & Build run: sh ./build.sh - name: Publish handlers diff --git a/.github/workflows/publish-jsx.yml b/.github/workflows/publish-jsx.yml index 152031c..992ec3e 100644 --- a/.github/workflows/publish-jsx.yml +++ b/.github/workflows/publish-jsx.yml @@ -16,6 +16,11 @@ jobs: uses: oven-sh/setup-bun@v1 with: bun-version: latest + # This is needed to be able to properly publish to npm + - uses: actions/setup-node@v3 + with: + node-version: latest + registry-url: https://registry.npmjs.org - name: Install Dependencies & Build run: sh ./build.sh - name: Publish jsx diff --git a/.github/workflows/publish-redis.yml b/.github/workflows/publish-redis.yml index e6d04b1..5da3d43 100644 --- a/.github/workflows/publish-redis.yml +++ b/.github/workflows/publish-redis.yml @@ -16,6 +16,11 @@ jobs: uses: oven-sh/setup-bun@v1 with: bun-version: latest + # This is needed to be able to properly publish to npm + - uses: actions/setup-node@v3 + with: + node-version: latest + registry-url: https://registry.npmjs.org - name: Install Dependencies & Build run: sh ./build.sh - name: Publish Redis diff --git a/.github/workflows/publish-transformers.yml b/.github/workflows/publish-transformers.yml index 4099b5c..5d50904 100644 --- a/.github/workflows/publish-transformers.yml +++ b/.github/workflows/publish-transformers.yml @@ -16,6 +16,11 @@ jobs: uses: oven-sh/setup-bun@v1 with: bun-version: latest + # This is needed to be able to properly publish to npm + - uses: actions/setup-node@v3 + with: + node-version: latest + registry-url: https://registry.npmjs.org - name: Install Dependencies & Build run: sh ./build.sh - name: Publish transformers