Skip to content

Commit

Permalink
Merge pull request #176 from immobiliare/deprecat-node-12
Browse files Browse the repository at this point in the history
feat: update node
  • Loading branch information
simonecorsi authored May 10, 2022
2 parents 39a903b + a52b375 commit 0fbc74e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -18,7 +18,4 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Update NPM
run: npm i -g [email protected] # avoid [email protected] win32 bug

- run: npm it
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -18,9 +18,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Update NPM
run: npm i -g [email protected] # avoid [email protected] win32 bug

- name: Install dependencies
run: npm it

Expand All @@ -30,15 +27,12 @@ jobs:
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: lts/*
- uses: actions/checkout@v3
with:
persist-credentials: false
token: ${{ secrets.GITHUB_TOKEN }}

- name: Update NPM
run: npm i -g [email protected] # avoid [email protected] win32 bug

- name: Install dependencies
run: npm i

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If you write your services and apps using `Fastify` and also use `statsd`, this

It automatically collects Node.js process metrics along with routes stats like hit count, timings and errors and uses the [`Dats`](https://github.com/immobiliare/dats) client to send them to a `stasd` collector.

It supports Fastify versions `>=3.0.0`.
It supports Fastify versions `>=3.0.0` on Node.js `>=14.0.0`, if you are a Node.js `v12` user refer to `[email protected]`.

## Table of Content

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"fastify-plugin": "^3.0.1"
},
"volta": {
"node": "16.12.0",
"npm": "8.1.1"
"node": "16.15.0",
"npm": "8.9.0"
}
}

0 comments on commit 0fbc74e

Please sign in to comment.