Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan committed Aug 23, 2024
1 parent 485ae22 commit af166cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ jobs:
if: contains(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 13
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: yarn
- run: yarn test
- run: yarn build
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: yarn
- run: yarn build
- run: yarn test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"koa"
],
"scripts": {
"test": "rm -rf dist && jest --verbose",
"test": "bun test",
"build": "tsc"
},
"main": "dist/index.js",
Expand Down

0 comments on commit af166cc

Please sign in to comment.