Skip to content

Commit

Permalink
ci: migrate to fastify reusable workflow (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed May 7, 2022
1 parent 6199935 commit 231c927
Showing 1 changed file with 6 additions and 37 deletions.
43 changes: 6 additions & 37 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,15 @@
name: CI
'on':

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

jobs:
test:
runs-on: ${{ matrix.os }}
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
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 }}
target: minor
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3

0 comments on commit 231c927

Please sign in to comment.