Skip to content

Bump @biomejs/biome from 2.4.6 to 2.4.9 #124

Bump @biomejs/biome from 2.4.6 to 2.4.9

Bump @biomejs/biome from 2.4.6 to 2.4.9 #124

Workflow file for this run

name: CI
on:
pull_request:
branches: [ "master" ]
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install Dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Build Project
run: npm run build
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: build
path: |
lib/**/*.js
lib/**/*.js.map
lib/**/*.d.ts
test/**/*.js
test/**/*.js.map
test-node:
name: Test with Node.js
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
node-version: [18.x, 20.x, 22.x, 24.x]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Download Build Artifacts
uses: actions/download-artifact@v4
with:
name: build
- name: Run Tests
run: npm run test
test-bun:
name: Test with Bun
runs-on: ubuntu-latest
needs: build
env:
YARN_IGNORE_NODE: 1
steps:
- name: 'Checkout the repository'
uses: actions/checkout@v4
- name: Install bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Download build
uses: actions/download-artifact@v4
with:
name: build
- name: Test with Node.js ${{ matrix.node-version }}
run: bun run --bun test