Skip to content

update workflow

update workflow #21

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: server
steps:
- uses: actions/checkout@v2
with:
path: 'server'
ref: main
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '20.x'
- name: Install Dependencies
run: npm install --prefix server
- name: Run Tests
run: npm test