Skip to content

Commit 043e98c

Browse files
authored
Merge pull request #63 from awslabs/jared/2.0.1
Bump version and add buildspec for node 14
2 parents 67e5ae5 + fcf5a14 commit 043e98c

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

buildspecs/buildspec-node14.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: 0.2
2+
3+
env:
4+
variables:
5+
AWS_REGION: us-west-2
6+
parameter-store:
7+
AWS_ACCESS_KEY_ID: AccessKey
8+
AWS_SECRET_ACCESS_KEY: SecretKey
9+
phases:
10+
install:
11+
runtime-versions:
12+
nodejs: 14
13+
commands:
14+
# start docker
15+
# https://docs.aws.amazon.com/codebuild/latest/userguide/sample-docker-custom-image.html#sample-docker-custom-image-files
16+
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=overlay2&
17+
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
18+
- npm install
19+
build:
20+
commands:
21+
- npm run lint
22+
- npm run build
23+
- npm run test
24+
- npm run integ
25+
# verify the current changes do not break the example tests
26+
- npm link && cd examples/testing && npm link aws-embedded-metrics && npm i && npm test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-embedded-metrics",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "AWS Embedded Metrics Client Library",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",

0 commit comments

Comments
 (0)