Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
version: 2.1

commands:
test-nodejs:
steps:
- run:
name: Versions
command: npm version
- checkout
- restore_cache:
keys:
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-master-{{ .Environment.CIRCLE_JOB }}
- run:
name: Install dependencies
command: npm ci
- run:
name: Test
command: npm run test:ci
- save-npm-cache
save-npm-cache:
steps:
- save_cache:
key: v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package-lock.json" }}
paths:
- ~/.npm/_cacache
jobs:
node-v8:
docker:
- image: node:8
steps:
- test-nodejs
node-v10:
docker:
- image: node:10
steps:
- test-nodejs
node-v12:
docker:
- image: node:12
steps:
- test-nodejs
node-v14:
docker:
- image: node:14
steps:
- test-nodejs

workflows:
version: 2
node-multi-build:
jobs:
- node-v8
- node-v10
- node-v12
- node-v14
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cls-hooked",
"version": "4.3.0",
"name": "@kibertoad/cls-hooked",
"version": "1.0.0",
"description": "CLS using AsyncWrap instead of async-listener - Node >= 4.7.0",
"main": "index.js",
"files": [
Expand All @@ -9,9 +9,9 @@
"context-legacy.js"
],
"scripts": {
"test": "mocha test/*.js & tap test/tap/*.tap.js",
"test-mocha": "mocha test/*.js",
"test-tap": "tap test/tap/*.tap.js",
"test:ci": "npm run test:mocha && npm run test:tap",
"test:mocha": "mocha test/*.js",
"test:tap": "tap test/tap/*.tap.js",
"debug": "node --nolazy --debug-brk=5858 "
},
"repository": {
Expand All @@ -32,7 +32,7 @@
"license": "BSD-2-Clause",
"engineStrict": false,
"engines": {
"node": "^4.7 || >=6.9 || >=7.3 || >=8.2.1"
"node": ">=8.2.1"
},
"dependencies": {
"async-hook-jl": "^1.7.6",
Expand Down