Skip to content

added github actions #1

added github actions

added github actions #1

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install Node.js dependencies
run: npm ci
- name: Run tests
run: npm test