diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index baae13f..34c8b0f 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 - run: npm ci - run: npm test @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm run build diff --git a/README.md b/README.md index f964cec..92bbd6d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ -# ExpressJS Under Pressure +# ExpressJS Under Pressure [![Downloads](https://img.shields.io/npm/dm/express-under-pressure.svg)](https://npmjs.com/express-under-pressure) [![npm version](https://img.shields.io/npm/v/express-under-pressure.svg?style=flat)](https://www.npmjs.com/package/express-under-pressure) + +
+ + + +
Monitor your server's health and automatically respond with a "Server Under Pressure" message when certain thresholds are exceeded. This is useful for maintaining server stability under heavy load. diff --git a/package.json b/package.json index 5fedbe6..baccdc6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "express-under-pressure", - "version": "0.3.1", + "version": "0.3.2", "description": "Express Under Pressure", "main": "lib/index.js", "type": "commonjs",