Skip to content

Added Continuous Integration (CI) Workflow #1

Added Continuous Integration (CI) Workflow

Added Continuous Integration (CI) Workflow #1

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test --if-present