Skip to content

delete package-lock.json file #3

delete package-lock.json file

delete package-lock.json file #3

name: Node.js CI
on:
push:
branches: [ main ]
paths:
- 'server/**'
pull_request:
branches: [ main ]
paths:
- 'server/**'
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
working-directory: ./server
- name: Run Tests
run: npm test
working-directory: ./server