Skip to content

Commit

Permalink
ci: migrate to fastify reusable workflow (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored May 10, 2022
1 parent db92314 commit dba4ab8
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,8 @@ on:

jobs:
test:
runs-on: ${{ matrix.os }}
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3

strategy:
matrix:
node-version: [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 }}

0 comments on commit dba4ab8

Please sign in to comment.