Skip to content

Add initial GitHub Actions workflow for testing Node.js application #2

Add initial GitHub Actions workflow for testing Node.js application

Add initial GitHub Actions workflow for testing Node.js application #2

Workflow file for this run

name: Test App
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test