Skip to content

ci: add workflow_dispatch to publish, fetch tags, handle both triggers #20

ci: add workflow_dispatch to publish, fetch tags, handle both triggers

ci: add workflow_dispatch to publish, fetch tags, handle both triggers #20

Workflow file for this run

name: CI
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
test:
name: Test (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["20", "22"]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Run tests
run: npm test