diff --git a/.circleci/config.yml b/.circleci/config.yml index c5a4eec..30bb668 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: node: circleci/node@4 - codecov: codecov/codecov@1 + codecov: codecov/codecov@3 jobs: test: executor: @@ -29,7 +29,6 @@ jobs: workflows: version: 2 test_and_release: - # Run the test jobs first, then the release only when all the test jobs are successful jobs: - test - release: @@ -37,5 +36,7 @@ workflows: branches: only: - master + context: + - npm requires: - test diff --git a/package-lock.json b/package-lock.json index f1a7fe0..e2a0544 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "devDependencies": { "@babel/plugin-transform-modules-commonjs": "7.15.4", "@babel/preset-typescript": "7.15.0", - "@ctrl/eslint-config": "2.1.0", + "@ctrl/eslint-config": "2.1.1", "@jest/globals": "27.2.4", "@types/koa-router": "7.4.4", "@types/lodash": "4.14.175", @@ -633,20 +633,20 @@ } }, "node_modules/@ctrl/eslint-config": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ctrl/eslint-config/-/eslint-config-2.1.0.tgz", - "integrity": "sha512-HF8JcP/e1KmH1DAFhE8hWFIdKFanvUb/tPn7edArIdMXO6DzkWhObrRkW9pPYI31wPkwOUeQu5PMJD2cPcU8KQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@ctrl/eslint-config/-/eslint-config-2.1.1.tgz", + "integrity": "sha512-WtKK8Tv6qvUrFIJxyg+MvQwruywSdC6kOJZVAIr3H4173P+BLmt1PcCF/suJ0SODiHW5Q7WBS6d4GO4x+7O1zA==", "dev": true, "dependencies": { - "@typescript-eslint/eslint-plugin": "^4.31.0", - "@typescript-eslint/parser": "^4.31.0", + "@typescript-eslint/eslint-plugin": "^4.32.0", + "@typescript-eslint/parser": "^4.32.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-config-xo": "^0.38.0", "eslint-config-xo-typescript": "^0.44.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-simple-import-sort": "^7.0.0", - "prettier": "^2.4.0" + "prettier": "^2.4.1" } }, "node_modules/@eslint/eslintrc": { @@ -9061,20 +9061,20 @@ } }, "@ctrl/eslint-config": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ctrl/eslint-config/-/eslint-config-2.1.0.tgz", - "integrity": "sha512-HF8JcP/e1KmH1DAFhE8hWFIdKFanvUb/tPn7edArIdMXO6DzkWhObrRkW9pPYI31wPkwOUeQu5PMJD2cPcU8KQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@ctrl/eslint-config/-/eslint-config-2.1.1.tgz", + "integrity": "sha512-WtKK8Tv6qvUrFIJxyg+MvQwruywSdC6kOJZVAIr3H4173P+BLmt1PcCF/suJ0SODiHW5Q7WBS6d4GO4x+7O1zA==", "dev": true, "requires": { - "@typescript-eslint/eslint-plugin": "^4.31.0", - "@typescript-eslint/parser": "^4.31.0", + "@typescript-eslint/eslint-plugin": "^4.32.0", + "@typescript-eslint/parser": "^4.32.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-config-xo": "^0.38.0", "eslint-config-xo-typescript": "^0.44.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-simple-import-sort": "^7.0.0", - "prettier": "^2.4.0" + "prettier": "^2.4.1" } }, "@eslint/eslintrc": { diff --git a/package.json b/package.json index d43a923..92b3a61 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "devDependencies": { "@babel/plugin-transform-modules-commonjs": "7.15.4", "@babel/preset-typescript": "7.15.0", - "@ctrl/eslint-config": "2.1.0", + "@ctrl/eslint-config": "2.1.1", "@jest/globals": "27.2.4", "@types/koa-router": "7.4.4", "@types/lodash": "4.14.175",