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

Commit 99a405d

Browse files
committed
chore: update travis
1 parent 3061d47 commit 99a405d

File tree

5 files changed

+17
-9
lines changed

5 files changed

+17
-9
lines changed

.aegir.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

.travis.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
language: node_js
2-
32
cache: npm
43

4+
branches:
5+
only:
6+
- master
7+
- /^release\/.*$/
8+
59
stages:
610
- check
711
- test
812
- cov
913

1014
node_js:
11-
- '12'
12-
- '14'
15+
- 'lts/*'
16+
- 'node'
1317

1418
os:
1519
- linux
@@ -23,7 +27,7 @@ jobs:
2327
include:
2428
- stage: check
2529
script:
26-
- npx aegir build --bundlesize
30+
- npx aegir build --no-types
2731
- npx aegir dep-check
2832
- npm run lint
2933

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
],
1919
"scripts": {
2020
"lint": "aegir lint",
21-
"build": "npm run build:proto && aegir build",
21+
"build": "npm run build:proto && aegir build --no-types",
2222
"build:proto": "pbjs -t static-module -w commonjs --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/keys/keys.js ./src/keys/keys.proto",
2323
"test": "aegir test",
2424
"test:node": "aegir test -t node",
@@ -67,6 +67,11 @@
6767
"sinon": "^10.0.0",
6868
"util": "^0.12.3"
6969
},
70+
"aegir": {
71+
"build": {
72+
"bundlesizeMax": "118kB"
73+
}
74+
},
7075
"engines": {
7176
"node": ">=12.0.0"
7277
},

src/keys/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const ErrMissingSecp256K1 = {
2020
code: 'ERR_MISSING_PACKAGE'
2121
}
2222

23-
function typeToKey(type) {
23+
function typeToKey (type) {
2424
const key = supportedKeys[type.toLowerCase()]
2525
if (!key) {
2626
const supported = Object.keys(supportedKeys).join(' / ')

src/keys/keys.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
syntax = "proto3";
2+
13
enum KeyType {
24
RSA = 0;
35
Ed25519 = 1;

0 commit comments

Comments
 (0)