Skip to content

feat: Automate NPM release #11

feat: Automate NPM release

feat: Automate NPM release #11

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
name: Node ${{ matrix.node }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- name: Install dependencies
run: |
npm install
- name: Test
run: |
npm run test