Skip to content

Commit 6dfd52a

Browse files
committed
fix: Use npm again to try to get tests workign
1 parent 70be8d8 commit 6dfd52a

File tree

2 files changed

+19
-15
lines changed

2 files changed

+19
-15
lines changed

.github/workflows/publish-package.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,26 @@ on:
77

88
jobs:
99
publish-package:
10-
runs-on: ubuntu:latest
10+
runs-on: ubuntu-latest
1111
environment: publish
1212

1313
steps:
1414
- name: Checkout repository
1515
uses: actions/checkout@v4
1616

17-
- name: Install bun
18-
uses: oven-sh/setup-bun@v2
19-
20-
- name: Install dependencies
21-
run: bun install
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
22+
- name: Install packages
23+
uses: bahmutov/npm-install@v1
2224

2325
- name: Run build
24-
run: bun run build
26+
run: npm run build
2527

2628
- name: Run tests
27-
run: bun run test
29+
run: npm run test
2830

2931
- name: Semantic release
3032
uses: cycjimmy/semantic-release-action@v3

.github/workflows/tests.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
1414

15-
- name: Install bun
16-
uses: oven-sh/setup-bun@v2
17-
18-
- name: Install dependencies
19-
run: bun install
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
20+
- name: Install packages
21+
uses: bahmutov/npm-install@v1
2022

2123
- name: Run build
22-
run: bun run build
24+
run: npm run build
2325

2426
- name: Run tests
25-
run: bun run test
27+
run: npm run test

0 commit comments

Comments
 (0)