diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc9f905..bdea186 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,54 +12,6 @@ on: jobs: test: - runs-on: ${{ matrix.os }} + uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3 - strategy: - matrix: - node-version: [14, 16, 18] - 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: Run Tests & generate coverage - run: | - npm run coveralls - - - name: Coveralls Parallel - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.github_token }} - parallel: true - flag-name: run-${{ matrix.node-version }}-${{ matrix.os }} - - coverage: - needs: test - runs-on: ubuntu-latest - steps: - - name: Coveralls Finished - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - parallel-finished: true - - 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 }} - target: minor