File tree Expand file tree Collapse file tree 3 files changed +14
-27
lines changed
Expand file tree Collapse file tree 3 files changed +14
-27
lines changed Original file line number Diff line number Diff line change @@ -2,38 +2,21 @@ name: On Push
22on : [push]
33jobs :
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
Original file line number Diff line number Diff line change 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
77Offers different data structures that allow temporary storing of objects.
88Expire 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
Original file line number Diff line number Diff line change 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/**/*"
You can’t perform that action at this time.
0 commit comments