diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36cd262..913752e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,49 +1,17 @@ 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@v3 - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - name: Install Dependencies - run: | - npm install --ignore-scripts - - name: Lint - run: | - npm run lint:ci - - 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 + with: + lint: true diff --git a/Readme.md b/Readme.md index 45abdc1..79f20a3 100644 --- a/Readme.md +++ b/Readme.md @@ -2,7 +2,6 @@ ![CI](https://github.com/fastify/fastify-url-data/workflows/CI/badge.svg) [![NPM version](https://img.shields.io/npm/v/@fastify/url-data.svg?style=flat)](https://www.npmjs.com/package/@fastify/url-data) -[![Known Vulnerabilities](https://snyk.io/test/github/fastify/fastify-url-data/badge.svg)](https://snyk.io/test/github/fastify/fastify-url-data) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/) A plugin for [Fastify](https://fastify.io/) that adds support for getting raw