diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8018d28..c88c8161 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: platform: [ubuntu-latest] - node: ['18.x', '17.x'] + node: ['18.x'] name: test/node ${{ matrix.node }}/${{ matrix.platform }} runs-on: ${{ matrix.platform }} steps: @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '17' + node-version: '18' - run: npm install - run: npm run build - uses: paambaati/codeclimate-action@v3.2.0 diff --git a/package.json b/package.json index c1219ea4..c0cee3f8 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "start": "node ./lib/index.js", "copy-files": "copyfiles -u 1 src/**/*.yml lib", "dev": "env-cmd -f ./src/config/local.env nodemon ./src/index.ts", - "test": "env-cmd -f ./src/config/test.env jest --detectOpenHandles", + "test": "env-cmd -f ./src/config/test.env jest --ci --detectOpenHandles", "lint": "eslint '**/*.ts'", "lint-fix": "eslint --fix '**/*.ts'", "format": "prettier --write 'src/**/*.ts'"