From caa2985f651e3d26bd1452d4e499302827f3d9a5 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 6 May 2022 13:34:38 +0000 Subject: [PATCH] ci: migrate to fastify reusable workflow --- .github/workflows/ci.yml | 42 +++++----------------------------------- 1 file changed, 5 insertions(+), 37 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 450a793..32b3d16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,47 +1,15 @@ name: CI + 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 - - 13 - - 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: 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