Skip to content

Commit db68b46

Browse files
committed
chore: config ci jobs
1 parent 7911146 commit db68b46

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Run Unit Tests
2+
3+
on: [push]
4+
5+
jobs:
6+
run-unit-tests:
7+
name: Run Unit Tests
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: 18
15+
cache: 'npm'
16+
17+
- run: npm ci
18+
19+
- run: npm run test

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "gogym-api",
3+
"type": "module",
34
"version": "1.0.0",
45
"description": "Application for registration and check-in at gyms",
56
"main": "index.js",

0 commit comments

Comments
 (0)