Skip to content

Commit

Permalink
chore: added ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MikunsHub committed Aug 7, 2024
1 parent 90d2229 commit 93070d5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run Tests

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

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ This project implements a REST API using TypeScript and Node.js, integrating dat

### Prerequisites

- Node.js (version 14 or higher)
- npm (version 6 or higher)
- Node.js (version 18 or higher)
- npm (version 10.x)

### Installation

Expand Down

0 comments on commit 93070d5

Please sign in to comment.