diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c56ccb1 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Check labs + +on: pull_request + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Node.js + uses: actions/setup-node@v1 + with: + node-version: 14 + - uses: actions/cache@v2 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - run: npm ci + - run: npm t diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3216b52..0000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -node_js: - - 12 -script: - - npm run ci diff --git a/package-lock.json b/package-lock.json index a14180b..6c3334d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "example", - "version": "1.0.3", + "version": "1.0.4", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -180,9 +180,9 @@ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "concolor": { - "version": "0.1.14", - "resolved": "https://registry.npmjs.org/concolor/-/concolor-0.1.14.tgz", - "integrity": "sha512-bh1hHbenUjaKBGPstTJJNPSIpkp0X+WqdGVWcGPjpBXSEMFxnLmudMYsjz1MPGmwr5jkvSF+aceIB9lzQfNK8Q==" + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/concolor/-/concolor-0.1.15.tgz", + "integrity": "sha512-p5R4K7KiwmmN0scBS+GU2aAV3QRs8DUlGwSirR1LJqxxKcpTI+KU8jpGcdCpQw8HGf2VlNsSzwVxh7Evno310A==" }, "cross-spawn": { "version": "7.0.3", @@ -234,9 +234,9 @@ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "eslint": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.4.0.tgz", - "integrity": "sha512-gU+lxhlPHu45H3JkEGgYhWhkR9wLHHEXC9FbWFnTlEkbKyZKWgWRLgf61E8zWmBuI6g5xKBph9ltg3NtZMVF8g==", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.5.0.tgz", + "integrity": "sha512-vlUP10xse9sWt9SGRtcr1LAC67BENcQMFeV+w5EvLEoFe3xJ8cF1Skd0msziRx/VMC+72B4DxreCE+OR12OA6Q==", "requires": { "@babel/code-frame": "^7.0.0", "ajv": "^6.10.0", @@ -246,9 +246,9 @@ "doctrine": "^3.0.0", "enquirer": "^2.3.5", "eslint-scope": "^5.1.0", - "eslint-utils": "^2.0.0", - "eslint-visitor-keys": "^1.2.0", - "espree": "^7.1.0", + "eslint-utils": "^2.1.0", + "eslint-visitor-keys": "^1.3.0", + "espree": "^7.2.0", "esquery": "^1.2.0", "esutils": "^2.0.2", "file-entry-cache": "^5.0.1", @@ -262,7 +262,7 @@ "js-yaml": "^3.13.1", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", - "lodash": "^4.17.14", + "lodash": "^4.17.19", "minimatch": "^3.0.4", "natural-compare": "^1.4.0", "optionator": "^0.9.1", @@ -299,13 +299,13 @@ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==" }, "espree": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-7.1.0.tgz", - "integrity": "sha512-dcorZSyfmm4WTuTnE5Y7MEN1DyoPYy1ZR783QW1FJoenn7RailyWFsq/UL6ZAAA7uXurN9FIpYyUs3OfiIW+Qw==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.2.0.tgz", + "integrity": "sha512-H+cQ3+3JYRMEIOl87e7QdHX70ocly5iW4+dttuR8iYSPr/hXKFb+7dBsZ7+u1adC4VrnPlTkv0+OwuPnDop19g==", "requires": { - "acorn": "^7.2.0", + "acorn": "^7.3.1", "acorn-jsx": "^5.2.0", - "eslint-visitor-keys": "^1.2.0" + "eslint-visitor-keys": "^1.3.0" } }, "esprima": { @@ -429,11 +429,11 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "hpw": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/hpw/-/hpw-0.1.13.tgz", - "integrity": "sha512-8cj8KOaLkX7cC2pQcTI1QkBIkFq/eW5x+BFUAFZNPQVNx9EBVW/OvbAwAVzquKEqH7/iqDMw2BXsw8FOD9bLtA==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/hpw/-/hpw-0.1.14.tgz", + "integrity": "sha512-fKE0BB2nre6UaqgPUFTJjUmISrzW2c/FLD42+LPIbkIWRP9H42uzTWRrDI+9cASY9jzdTXxDed2aODeiVfZavw==", "requires": { - "concolor": "^0.1.14" + "concolor": "^0.1.15" } }, "ignore": { @@ -526,9 +526,9 @@ } }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + "version": "4.17.19", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", + "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==" }, "minimatch": { "version": "3.0.4", @@ -700,9 +700,9 @@ } }, "strip-json-comments": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.0.tgz", - "integrity": "sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w==" + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==" }, "supports-color": { "version": "5.5.0", diff --git a/package.json b/package.json index f4ff7fe..1f6e0db 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "example", "private": true, - "version": "1.0.3", + "version": "1.0.4", "author": "Timur Shemsedinov ", "license": "MIT", "scripts": { @@ -9,7 +9,7 @@ "ci": "eslint ./Exercises && hpw" }, "dependencies": { - "eslint": "^7.4.0", - "hpw": "^0.1.13" + "eslint": "^7.5.0", + "hpw": "^0.1.14" } }