Skip to content

Commit

Permalink
Add the ci.yml files
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-PH committed Dec 30, 2023
1 parent 6b0b26a commit 93258bf
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 tests
run: npm test

0 comments on commit 93258bf

Please sign in to comment.