diff --git a/.github/workflows/quality.js.yml b/.github/workflows/quality.js.yml index e25608f..a027916 100644 --- a/.github/workflows/quality.js.yml +++ b/.github/workflows/quality.js.yml @@ -1,5 +1,3 @@ -# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node - name: Quality CI on: @@ -10,19 +8,17 @@ on: jobs: quality: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 12 - - run: npm install - - run: npm install -g codecov - - run: npm run coverage - - - name: Coveralls - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 12 # ⚠️ Still works, but consider updating this soon + - run: npm cache clean --force + - run: npm install + - run: npm install -g codecov + - run: npm run coverage + - uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 6b41f56..18d8f68 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "chai-as-promised": "^7.1.1", "coveralls": "^3.1.1", "cz-conventional-changelog": "^3.3.0", + "debug": "4.3.4", "eslint": "^5.16.0", "eslint-config-airbnb-base": "^13.1.0", "eslint-plugin-import": "^2.22.0", @@ -37,8 +38,8 @@ "proxyquire": "^2.1.3", "rewire": "^4.0.1", "semantic-release": "^18.0.0", - "sinon-chai": "^3.5.0", - "sinon": "^9.2.4" + "sinon": "^9.2.4", + "sinon-chai": "^3.5.0" }, "dependencies": { "accept-language": "^3.0.18", @@ -50,10 +51,10 @@ "got": "^11.8.5", "helmet": "^3.23.3", "jsonwebtoken": "^9.0.0", - "log4js": "^6.4.1", - "tsd": "^0.20.0", + "log4js": "6.9.1", "q": "^1.5.1", "rsa-pem-from-mod-exp": "^0.8.4", + "tsd": "^0.20.0", "underscore": "^1.10.2" }, "config": { @@ -61,7 +62,7 @@ "path": "./node_modules/cz-conventional-changelog" } }, - "engines" : { - "node" : ">=12.0.0" + "engines": { + "node": ">=12.0.0" } -} \ No newline at end of file +}