Skip to content

Commit

Permalink
Merge pull request #23 from Cerebellum-Realtime/CI/CD
Browse files Browse the repository at this point in the history
Feat: Create GitHub Actions CI/CD Workflow
  • Loading branch information
dylanspyer authored Aug 22, 2024
2 parents f2f835e + 94b3f84 commit 41b4361
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/nodejs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Node.js CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20]

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies in main folder
run: npm install

- name: Install dependencies in lambda folder
run: cd lambda && npm install

- name: Run tests
run: npm test

0 comments on commit 41b4361

Please sign in to comment.