Skip to content

Merge pull request #108 from jennydo/prompt-front #40

Merge pull request #108 from jennydo/prompt-front

Merge pull request #108 from jennydo/prompt-front #40

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Run Tests
on:
push:
branches: [ "tests", "main" ]
pull_request:
branches: [ "tests", "main" ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test