Skip to content

Commit

Permalink
feat: takeown / fix tests on modern node
Browse files Browse the repository at this point in the history
  • Loading branch information
FauxFaux committed Jun 23, 2022
1 parent c05ca4f commit dcb3601
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 40 deletions.
51 changes: 51 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
version: 2.1

jobs:
test:
docker:
- image: cimg/node:14.19
working_directory: ~/lib
steps:
- checkout
- run:
name: Install
command: npm install
- run:
name: Lint
command: npm run lint
- run:
name: Test
command: npm run test
release:
docker:
- image: cimg/node:14.19
working_directory: ~/lib
steps:
- checkout
- run:
name: Install
command: npm install
- run:
name: Release
command: npx semantic-release@17

workflows:
version: 2
test:
jobs:
- test:
name: Test
context: nodejs-install
filters:
branches:
ignore:
- master
release:
jobs:
- release:
name: Release
context: nodejs-lib-release
filters:
branches:
only:
- master
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ node_modules
.lock-wscript
dist/
package-lock.json
.idea/
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

4 changes: 0 additions & 4 deletions HISTORY.md

This file was deleted.

13 changes: 0 additions & 13 deletions docker-compose.yaml

This file was deleted.

16 changes: 6 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,29 @@
{
"name": "sequelize-encrypted",
"version": "0.1.0",
"name": "@snyk/sequelize-encrypted",
"description": "encrypted sequelize fields",
"main": "index.js",
"scripts": {
"lint": "true",
"test": "mocha"
},
"repository": {
"type": "git",
"url": "https://github.com/defunctzombie/sequelize-encrypted.git"
"url": "https://github.com/snyk/sequelize-encrypted.git"
},
"keywords": [
"sequelize",
"encrypted"
],
"author": "Roman Shtylman <[email protected]>",
"author": "snyk.io",
"license": "MIT",
"bugs": {
"url": "https://github.com/defunctzombie/sequelize-encrypted/issues"
},
"homepage": "https://github.com/defunctzombie/sequelize-encrypted",
"devDependencies": {
"babel-plugin-transform-async-to-generator": "6.8.0",
"babel-plugin-transform-es2015-modules-commonjs": "6.10.3",
"babel-polyfill": "6.9.1",
"babel-preset-es2015": "6.9.0",
"babel-register": "6.9.0",
"mocha": "2.0.1",
"pg": "6.0.1",
"sequelize": "4.44.4"
"pg": "^8",
"sequelize": "^4"
}
}

0 comments on commit dcb3601

Please sign in to comment.