Skip to content

Merge pull request #3 from zacharyarney/v0.1.0 #2

Merge pull request #3 from zacharyarney/v0.1.0

Merge pull request #3 from zacharyarney/v0.1.0 #2

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
- name: Run Build
run: npm run build
- name: Lint Check
run: npm run lint --if-present
- name: Validate tests
run: npm run test --if-present