Skip to content

Merge pull request #23 from Cerebellum-Realtime/CI/CD #3

Merge pull request #23 from Cerebellum-Realtime/CI/CD

Merge pull request #23 from Cerebellum-Realtime/CI/CD #3

Workflow file for this run

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