Skip to content

Commit

Permalink
Add basic CI github action workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
MSE99 committed Nov 2, 2023
1 parent 3cb4ba9 commit 23ccf6e
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
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'npm'

- name: Install dependencies
run: npm install

- name: Run all tests
run: npm t

0 comments on commit 23ccf6e

Please sign in to comment.