Skip to content

Commit 0556fc7

Browse files
authored
major: bump nodejs ci (#7)
* feat: update dep * ci: update nodejs versions * fix: npmignore * fix: remove licence check
1 parent 83c7572 commit 0556fc7

File tree

5 files changed

+33
-31
lines changed

5 files changed

+33
-31
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
open-pull-requests-limit: 10
8+
9+
- package-ecosystem: "npm"
10+
directory: "/"
11+
schedule:
12+
interval: "weekly"
13+
open-pull-requests-limit: 10

.github/workflows/ci.yml

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,17 @@
1-
name: ci
2-
3-
on: [push, pull_request]
4-
5-
env:
6-
CI: true
1+
name: CI
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'docs/**'
7+
- '*.md'
8+
pull_request:
9+
paths-ignore:
10+
- 'docs/**'
11+
- '*.md'
712

813
jobs:
914
test:
10-
runs-on: ${{ matrix.os }}
11-
12-
strategy:
13-
matrix:
14-
node-version: [10.x, 12.x, 14.x]
15-
os: [ubuntu-latest, windows-latest]
16-
17-
steps:
18-
- uses: actions/checkout@v2
19-
20-
- name: Use Node.js
21-
uses: actions/setup-node@v1
22-
with:
23-
node-version: ${{ matrix.node-version }}
24-
25-
- name: Install
26-
run: |
27-
npm install --ignore-scripts
28-
29-
- name: Run tests
30-
run: |
31-
npm test
15+
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3
16+
with:
17+
lint: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,4 @@ dist
106106
package-lock.json
107107

108108
out*.json
109+
.vscode

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,4 @@ out*.json
109109

110110
test/
111111
.github/
112+
.vscode/

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"lint": "standard",
88
"lint:fix": "standard --fix",
9-
"test": "npm run lint && tap test/**/*.test.js"
9+
"test": "tap test/**/*.test.js"
1010
},
1111
"engines": {
1212
"node": ">=10"
@@ -16,14 +16,15 @@
1616
"url": "git+https://github.com/Eomm/json-schema-resolver.git"
1717
},
1818
"author": "Manuel Spigolon <[email protected]> (https://github.com/Eomm)",
19+
"funding": "https://github.com/Eomm/json-schema-resolver?sponsor=1",
1920
"license": "MIT",
2021
"bugs": {
2122
"url": "https://github.com/Eomm/json-schema-resolver/issues"
2223
},
2324
"homepage": "https://github.com/Eomm/json-schema-resolver#readme",
2425
"devDependencies": {
25-
"standard": "^16.0.3",
26-
"tap": "^15.0.9"
26+
"standard": "^17.0.0",
27+
"tap": "^16.3.0"
2728
},
2829
"dependencies": {
2930
"debug": "^4.1.1",

0 commit comments

Comments
 (0)