Fix /bun
config profile so it emulates Node.js ^21.0.0
versions, otherwise linting for feature support will fail for modern APIs common in Bun apps like Request
, Response
, and Headers
#56
Workflow file for this run
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
name: Pull Request Workflow | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: CPU Details | |
run: lscpu | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: "1.1.17" | |
- run: bun install --frozen-lockfile | |
- run: bun run check:environment | |
- run: bun --bun run check:formatting | |
- run: bun --bun run check:lint-conflicts | |
- run: bun run test |