-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat: add CI workflow for running tests #2416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
db9eb17
80025f9
5dd820b
d499e33
794541b
5e2a723
671c4c4
799225a
f9a7a01
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,24 @@ | ||||||
| name: Run Tests | ||||||
|
|
||||||
| on: | ||||||
| push: | ||||||
| branches: [ main ] | ||||||
| pull_request: | ||||||
| branches: [ main ] | ||||||
|
|
||||||
| jobs: | ||||||
| test: | ||||||
| runs-on: ubuntu-latest | ||||||
|
|
||||||
| steps: | ||||||
| - uses: actions/checkout@v4 | ||||||
|
|
||||||
| - uses: oven-sh/setup-bun@v1 | ||||||
| with: | ||||||
| bun-version: latest | ||||||
|
|
||||||
| - name: Install dependencies | ||||||
| run: bun install --frozen-lockfile | ||||||
|
||||||
| run: bun install --frozen-lockfile | |
| run: bun install --frozen |
This will maintain the same intended behavior of preventing lockfile updates during CI runs.
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pin the Bun version instead of using 'latest' for build consistency.