Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
chore: update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Apr 7, 2021
1 parent 3061d47 commit 4d3c39d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .aegir.js

This file was deleted.

12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
language: node_js

cache: npm

branches:
only:
- master
- /^release\/.*$/

stages:
- check
- test
- cov

node_js:
- '12'
- '14'
- 'lts/*'
- 'node'

os:
- linux
Expand All @@ -23,7 +27,7 @@ jobs:
include:
- stage: check
script:
- npx aegir build --bundlesize
- npx aegir build
- npx aegir dep-check
- npm run lint

Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@
"sinon": "^10.0.0",
"util": "^0.12.3"
},
"aegir": {
"build": {
"bundlesizeMax": "118kB"
}
},
"engines": {
"node": ">=12.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/keys/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const ErrMissingSecp256K1 = {
code: 'ERR_MISSING_PACKAGE'
}

function typeToKey(type) {
function typeToKey (type) {
const key = supportedKeys[type.toLowerCase()]
if (!key) {
const supported = Object.keys(supportedKeys).join(' / ')
Expand Down
2 changes: 2 additions & 0 deletions src/keys/keys.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
syntax = "proto3";

enum KeyType {
RSA = 0;
Ed25519 = 1;
Expand Down

0 comments on commit 4d3c39d

Please sign in to comment.