diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index f7f14fa..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,15 +0,0 @@ -# For more information see: https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - package-ecosystem: 'github-actions' - directory: '/' - schedule: - interval: 'monthly' - - - package-ecosystem: 'npm' - versioning-strategy: 'auto' - directory: '/' - open-pull-requests-limit: 10 - schedule: - interval: 'monthly' diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index f5e1b1e..a15428f 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -20,5 +20,16 @@ jobs: uses: actions/setup-node@v2.1.2 with: node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm run test + + - name: 'Install dependencies' + run: npm ci + + - name: 'Run the tests' + run: npm test + + - name: 'Cache dependencies' + uses: actions/cache@v2 + with: + path: | + **/node_modules + key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}