Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ '*' ]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x] # Using Node.js 18.x as a current LTS version

steps:
- name: Checkout code
uses: actions/checkout@v4 # Using a newer version of actions/checkout

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4 # Using a newer version of actions/setup-node
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test
Loading
Loading