Skip to content

Commit 666b28e

Browse files
Eommmcollina
andauthored
chore: testing new reusable workflow (#216)
* chore: testing new reusable workflow * Update .github/workflows/ci.yml Co-authored-by: Matteo Collina <hello@matteocollina.com> * turn on coverage * Update ci.yml * remove coverage * Update ci.yml Co-authored-by: Matteo Collina <hello@matteocollina.com>
1 parent 181de08 commit 666b28e

File tree

1 file changed

+7
-37
lines changed

1 file changed

+7
-37
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,15 @@
11
name: ci
2-
'on':
2+
3+
on:
34
push:
45
paths-ignore:
5-
- docs/**
6+
- 'docs/**'
67
- '*.md'
78
pull_request:
89
paths-ignore:
9-
- docs/**
10+
- 'docs/**'
1011
- '*.md'
12+
1113
jobs:
12-
build:
13-
runs-on: ${{ matrix.os }}
14-
strategy:
15-
matrix:
16-
node-version:
17-
- 10
18-
- 12
19-
- 14
20-
- 16
21-
os:
22-
- ubuntu-latest
23-
- windows-latest
24-
- macOS-latest
25-
steps:
26-
- uses: actions/checkout@v2
27-
- name: Use Node.js
28-
uses: actions/setup-node@v2
29-
with:
30-
node-version: ${{ matrix.node-version }}
31-
- name: Install Dependencies
32-
run: npm install --ignore-scripts
33-
- name: Run Tests
34-
run: |
35-
npm test
36-
automerge:
37-
needs: build
38-
runs-on: ubuntu-latest
39-
permissions:
40-
pull-requests: write
41-
contents: write
42-
steps:
43-
- uses: fastify/github-action-merge-dependabot@v3
44-
with:
45-
github-token: ${{ secrets.GITHUB_TOKEN }}
14+
test:
15+
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v2

0 commit comments

Comments
 (0)