Skip to content

feat: add bun to package managers (#16) #40

feat: add bun to package managers (#16)

feat: add bun to package managers (#16) #40

Workflow file for this run

name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
node-version: ["20.x"]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: oven-sh/setup-bun@v1
- run: npm i
- run: npm run build --if-present
- run: npm test
test-win:
strategy:
matrix:
platform: [windows-latest]
node-version: ["20.x"]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v3
with:
version: 8
- run: npm i
- run: npm run build --if-present
- run: npm test