From 8c8fb6bf2e8255c0f6b4d6878c6084c06f16f460 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Tue, 10 May 2022 20:00:31 +0100 Subject: [PATCH] ci: migrate to fastify reusable workflow --- .github/workflows/ci.yml | 40 +++------------------------------------- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 537154d..913752e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,40 +12,6 @@ on: 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 - - - 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