Skip to content

Commit 7e2fae8

Browse files
committed
Updated README
1 parent 4bead80 commit 7e2fae8

File tree

3 files changed

+14
-27
lines changed

3 files changed

+14
-27
lines changed

.github/workflows/on-push.yml

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,21 @@ name: On Push
22
on: [push]
33
jobs:
44
build:
5-
name: Building
5+
name: Build & Test
66
runs-on: Linux
77
steps:
88
- name: Checking out repository
9-
uses: actions/checkout@v3
9+
uses: actions/checkout@v4
1010
- name: "Setup Node"
11-
uses: actions/setup-node@v3
11+
uses: actions/setup-node@v4
1212
with:
13-
node-version: '16'
13+
node-version: '22'
1414
cache: 'npm'
1515
- name: Installing
16-
run: npm install -save --save-dev
16+
run: npm install
1717
- name: Building
1818
run: npm run build
19-
- name: Done
20-
run: exit 0
21-
22-
testing:
23-
name: Testing
24-
needs: build
25-
runs-on: Linux
26-
steps:
27-
- name: "Setup Node"
28-
uses: actions/setup-node@v3
29-
with:
30-
node-version: '16'
31-
cache: 'npm'
32-
- name: Installing
33-
run: npm install -save --save-dev
34-
- name: Running linter
19+
- name: Linting
3520
run: npm run lint
36-
- name: Running tests
37-
run: npm run test
38-
- name: Done
39-
run: exit 0
21+
- name: Testing
22+
run: npm run test

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
![GitHub package.json version](https://img.shields.io/github/package-json/v/LupCode/node-lup-expires)
22
![npm bundle size](https://img.shields.io/bundlephobia/min/lup-expires)
3-
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/LupCode/node-lup-expires/On%20Push)
3+
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/LupCode/node-lup-expires/on-push.yml?branch=main)
44
![NPM](https://img.shields.io/npm/l/lup-expires)
55

66
# lup-expires
77
Offers different data structures that allow temporary storing of objects.
88
Expire time can be defined for stored entries after which they will get automatically deleted.
99

10+
> This package is **deprecated**.
11+
> Please use [lup-structures](https://www.npmjs.com/package/lup-structures) instead which includes all features of lup-expires and more.
12+
13+
1014
## JavaScript Example
1115

1216
```javascript

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lup-expires",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Offers different data structures that allow temporary storing of objects",
55
"files": [
66
"lib/**/*"

0 commit comments

Comments
 (0)