Skip to content

Commit

Permalink
Added node to workflows
Browse files Browse the repository at this point in the history
This is required to be able to publish to npm, bun doesnt yet support it
  • Loading branch information
Didas-git committed Apr 30, 2024
1 parent 39ff272 commit 696810c
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/publish-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/publish-handlers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/publish-jsx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/publish-redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/publish-transformers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 696810c

Please sign in to comment.