Skip to content

docs: improve badges (#259) #9

docs: improve badges (#259)

docs: improve badges (#259) #9

name: '🔬 CI — Compatibility'
on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch:
jobs:
bun:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
bun-version: ['latest', 'canary']
name: Bun ${{ matrix.bun-version }}
steps:
- name: ➕ Actions - Checkout
uses: actions/checkout@v4
- name: ➕ Actions - Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: ➕ Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-linux-${{ hashFiles('package-lock.json') }}
restore-keys: npm-linux-
- name: 📦 Installing Dependencies
run: npm ci
- name: 🤹🏻‍♀️ Building the Project
run: npm run build
# Testing via Docker Official Images
- name: 🔬 Bun ${{ matrix.bun-version }}
run: FILTER=bun-${{ matrix.bun-version }} npm run test:ci