Skip to content

Commit

Permalink
Added Continuous Integration (CI) Workflow (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmanKrSahu authored Nov 13, 2024
1 parent 1df0bf9 commit 4f39c40
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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

0 comments on commit 4f39c40

Please sign in to comment.