Skip to content

Commit

Permalink
s/bun/node
Browse files Browse the repository at this point in the history
  • Loading branch information
threepointone committed May 27, 2024
1 parent f8d2f63 commit 1da8626
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 21 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,15 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- uses: oven-sh/setup-bun@v1

- run: npm ci
- run: bun install

- name: Modify package.json version
run: node .github/version-script.js

- run: npm run build
- run: npm run check
- run: bun run build
- run: bun run check

- run: npm publish --tag beta
env:
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- uses: oven-sh/setup-bun@v1

- run: npm ci
- run: bun install

- run: npm run build
- run: npm run check
- run: bun run build
- run: bun run check
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,16 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- uses: oven-sh/setup-bun@v1

- run: npm ci
- run: bun install

- run: npm run build
- run: bun run build

- id: changesets
uses: changesets/action@v1
with:
version: node .github/changeset-version.js
version: bun .github/changeset-version.js
publish: npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.PARTYFLARE_GITHUB_TOKEN }}
Expand Down

0 comments on commit 1da8626

Please sign in to comment.