diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5e48d4e..dfa7fa6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,12 +1,13 @@ version: 2 updates: - - package-ecosystem: github-actions - directory: '/' + - package-ecosystem: "github-actions" + directory: "/" schedule: - interval: daily + interval: "monthly" open-pull-requests-limit: 10 - - package-ecosystem: npm - directory: '/' + + - package-ecosystem: "npm" + directory: "/" schedule: - interval: daily + interval: "weekly" open-pull-requests-limit: 10 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5a82b7..32b3d16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,46 +1,15 @@ name: CI -'on': + +on: push: paths-ignore: - - docs/** + - 'docs/**' - '*.md' pull_request: paths-ignore: - - docs/** + - 'docs/**' - '*.md' + jobs: test: - runs-on: ${{ matrix.os }} - strategy: - matrix: - node-version: - - 10 - - 12 - - 14 - - 16 - os: - - macos-latest - - ubuntu-latest - - windows-latest - steps: - - uses: actions/checkout@v2.4.0 - - name: Use Node.js - uses: actions/setup-node@v2.5.1 - with: - node-version: ${{ matrix.node-version }} - - name: Install Dependencies - run: | - npm install --ignore-scripts - - name: Run Tests - run: | - npm test - automerge: - needs: test - runs-on: ubuntu-latest - permissions: - pull-requests: write - contents: write - steps: - - uses: fastify/github-action-merge-dependabot@v3 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} + uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3 diff --git a/README.md b/README.md index 3495606..3c7aade 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ ![CI](https://github.com/fastify/process-warning/workflows/CI/badge.svg) [![NPM version](https://img.shields.io/npm/v/process-warning.svg?style=flat)](https://www.npmjs.com/package/process-warning) -[![Known Vulnerabilities](https://snyk.io/test/github/fastify/process-warning/badge.svg)](https://snyk.io/test/github/fastify/process-warning) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/) A small utility for generating consistent warning objects across your codebase. diff --git a/package.json b/package.json index 174cffa..2d91703 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "process-warning", - "version": "1.0.0", + "version": "2.0.0", "description": "A small utility for creating warnings and emitting them.", "main": "index.js", "types": "index.d.ts", @@ -9,7 +9,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fastify/processs-warning.git" + "url": "git+https://github.com/fastify/process-warning.git" }, "keywords": [ "fastify", @@ -29,7 +29,7 @@ "devDependencies": { "ava": "^3.10.1", "jest": "^27.0.1", - "standard": "^16.0.3", - "tsd": "^0.19.0" + "standard": "^17.0.0", + "tsd": "^0.20.0" } }