This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f6dd0c
commit 82898a5
Showing
5 changed files
with
60 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ build | |
node_modules | ||
*.tgz | ||
.idea | ||
/dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
default: | ||
image: 'cimg/node:lts' | ||
|
||
cache: | ||
key: | ||
files: | ||
- package-lock.json | ||
paths: | ||
- .npm/ | ||
- node_modules/ | ||
|
||
stages: | ||
- setup | ||
- test | ||
- release | ||
|
||
install: | ||
stage: setup | ||
script: | ||
- npm ci | ||
|
||
test: | ||
stage: test | ||
script: | ||
- npm test | ||
|
||
release: | ||
stage: release | ||
artifacts: | ||
paths: | ||
- dist/ | ||
only: | ||
- /^v[0-9]+\.[0-9]+\.[0-9]+.*/ | ||
except: | ||
- branches | ||
script: | ||
- npm pack | ||
- mkdir dist | ||
- mv signalfx-lambda-${CI_COMMIT_REF_NAME:1}.tgz dist/ | ||
- shasum -a 256 dist/* > dist/checksums.txt | ||
|
||
# release in NPM | ||
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN_SIGNALFX" > ~/.npmrc | ||
- npm publish ./dist/signalfx-lambda-${CI_COMMIT_REF_NAME:1}.tgz | ||
- rm -f ~/.npmrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changelog | ||
|
||
## Unreleased | ||
|
||
## 1.1.1 (2021-09-20) | ||
|
||
Changes: | ||
- allow usage of nulls and booleans as dimension values ([#45](https://github.com/signalfx/lambda-nodejs/pull/45)) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
{ | ||
"name": "signalfx-lambda", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Node.js lambda wrapper for SignalFx", | ||
"homepage": "https://signalfx.com", | ||
"files": [ | ||
"*.js", | ||
"README.md" | ||
], | ||
"author": { | ||
"name": "SignalFx, Inc", | ||
"email": "[email protected]", | ||
|