Skip to content

Commit

Permalink
ci: migrate to fastify reusable workflow (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored May 17, 2022
1 parent 2d1fe95 commit 909e787
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 37 deletions.
42 changes: 6 additions & 36 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,15 @@
name: CI
'on':

on:
push:
paths-ignore:
- docs/**
- 'docs/**'
- '*.md'
pull_request:
paths-ignore:
- docs/**
- 'docs/**'
- '*.md'

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 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: 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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

![CI](https://github.com/fastify/fastify-nextjs/workflows/CI/badge.svg)
[![NPM version](https://img.shields.io/npm/v/@fastify/nextjs.svg?style=flat)](https://www.npmjs.com/package/@fastify/nextjs)
[![Known Vulnerabilities](https://snyk.io/test/github/fastify/fastify-nextjs/badge.svg)](https://snyk.io/test/github/fastify/fastify-nextjs)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)

React server-side rendering support for Fastify with [Next.js](https://nextjs.org/docs/advanced-features/custom-server) framework. This library is for letting an existing Fastify server utilize NextJS, not for replacing NextJS' internal webserver with Fastify.
Expand Down

0 comments on commit 909e787

Please sign in to comment.