-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update workflows and repository to use Bun (#241)
* ci(test): test bun as setup packager in e2e * ci(test): use bun in e2e tests to create projects * ci(test): move `node` and `bun` to dedicated environment action * ci(test): prevent installing bun on windows * ci(test): simplify matrix setup * ci: update other workflows to use bun * ci: fully move over to bun * refactor: upgrade eslint and prettier packages * fix: resolve all linting issues * fix: add `sqlite3` as trusted dependency * chore: rebuild files * chore: upgrade typescript to `5.3.2` * docs: add `bun` as `packager` option to readme This is now tested in our e2e tests as well, and seems to work nicely * chore: update build script and built files * ci(test): update matrix to ignore cache on windows
- Loading branch information
Showing
30 changed files
with
424,489 additions
and
309,332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Setup Runtime | ||
description: Prepare Runtime in GitHub Actions | ||
|
||
inputs: | ||
bun-version: | ||
description: Version of Bun to use | ||
default: latest # TODO(cedric): replace with fixed major version after fixing https://github.com/oven-sh/setup-bun/issues/37 | ||
|
||
node-version: | ||
description: Version of Node to use | ||
default: 18.x | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: 🏗 Setup Bun | ||
if: ${{ runner.os != 'Windows' }} | ||
uses: oven-sh/setup-bun@v1 | ||
with: | ||
bun-version: ${{ inputs.bun-version }} | ||
|
||
- name: 🏗 Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ inputs.node-version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.