Skip to content

Commit

Permalink
chore(test): actualiza ubuntu version para test unitarios (#2009)
Browse files Browse the repository at this point in the history
  • Loading branch information
MCele authored Dec 13, 2024
1 parent efbf02e commit ff92c6b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: BUILD AND TEST
on: [push]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '14.x'
node-version: '16.x'
- run: npm ci
- run: cp config.private.ts.example config.private.ts
- run: npm run lint
- run: npm run tsc
# - run: npm run test
- run: npm run test
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2'
services:
mongo:
image: mongo:4.0
image: mongo:5.0
volumes:
- vmongo:/data/db
ports:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"jobs": "tsc && node jobs/scheduler.js",
"lint": "eslint -c .eslintrc.js --ext .ts .",
"lint:fix": "eslint -c .eslintrc.js --ext .ts . --fix",
"test": "jest",
"test": "MONGOMS_DEBUG=1 jest",
"testing": "NODE_ENV=test npm start",
"docker:up": "docker-compose -p andes_dev up -d ",
"docker:down": "docker-compose -p andes_dev down",
Expand Down Expand Up @@ -186,4 +186,4 @@
"ts-jest": "^24.1.0",
"tslint-eslint-rules": "^4.1.1"
}
}
}

0 comments on commit ff92c6b

Please sign in to comment.