From 193f4d02c88f1812d8fd5c675ddf75f976400854 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 30 May 2022 12:53:00 +0100 Subject: [PATCH 1/2] ci!: migrate to reusable workflow BREAKING CHANGE: drops support for node 10, 12, and 15; adds support for node 18 --- .github/workflows/ci.yml | 34 +--------------------------------- README.md | 1 - 2 files changed, 1 insertion(+), 34 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a32d6df..32b3d16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,36 +12,4 @@ on: jobs: test: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - node-version: [10, 12, 14, 15, 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 diff --git a/README.md b/README.md index 94592c7..f007356 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ ![CI](https://github.com/fastify/fastify-schedule/workflows/CI/badge.svg) [![NPM Version][npm-image]][npm-url] -[![Known Vulnerabilities](https://snyk.io/test/github/fastify/fastify-schedule/badge.svg)](https://snyk.io/test/github/fastify/fastify-schedule) [![Coverage Status](https://coveralls.io/repos/fastify/fastify-schedule/badge.svg?branch=main)](https://coveralls.io/r/fastify/fastify-schedule?branch=main) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat)](https://github.com/prettier/prettier) From 6daf53860a1e3303b2e8d2704dfe615cdb47c680 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 30 May 2022 12:54:11 +0100 Subject: [PATCH 2/2] chore: remove engine --- package.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/package.json b/package.json index 02ae497..6d86c46 100644 --- a/package.json +++ b/package.json @@ -44,9 +44,6 @@ "tsd": "^0.20.0", "typescript": "^4.1.3" }, - "engines": { - "node": ">=10.16.0" - }, "homepage": "http://github.com/fastify/fastify-schedule", "repository": { "type": "git",