Skip to content

Commit

Permalink
Add the ci.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-PH committed Dec 30, 2023
1 parent 6b0b26a commit af6f4a1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
push:
branches: [ main, test-ci ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Run unit tests
run: npm test -- tests/unit

0 comments on commit af6f4a1

Please sign in to comment.