Skip to content

Test Main Branch

Test Main Branch #9

Workflow file for this run

name: Test Main Branch
on:
workflow_dispatch:
push:
branches: [main]
paths:
- 'src/**/*'
- 'package.json'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.17.1]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
run_install: true
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm test