Skip to content

chore: Publish executable versions #38

chore: Publish executable versions

chore: Publish executable versions #38

Workflow file for this run

name: CI Workflow
on:
push:
branches:
- main
pull_request:
branches:
- '*'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests with coverage
run: npm run test -- --coverage
build:
runs-on: ubuntu-latest
needs: test
strategy:
matrix:
node-version: [20, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- uses: oven-sh/setup-bun@v2
- name: Build project
run: npm run build
- uses: oven-sh/setup-bun@v2
- name: Build native executables
run: npm run build:native-and-compress