Skip to content

building and deployed for nodejs cjs, esm and now browser #38

building and deployed for nodejs cjs, esm and now browser

building and deployed for nodejs cjs, esm and now browser #38

Workflow file for this run

name: tests
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20', '22']
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Testing
run: npm run test