-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from TheSoftwareHouse/feature/RAD-345-obfuscat…
…e-logger Feature/rad 345 obfuscate logger
- Loading branch information
Showing
3 changed files
with
74 additions
and
28 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||
|
||
name: Node.js CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: npm run bootstrap | ||
- run: npm run build | ||
- run: npm run integration |
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,20 @@ | ||
name: Node.js Package | ||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
# Setup .npmrc file to publish to npm | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm install | ||
- run: npm run bootstrap | ||
- run: npm run build | ||
- run: npm run publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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,28 +1,28 @@ | ||
language: node_js | ||
node_js: | ||
- 12 | ||
|
||
before_script: | ||
- npm install | ||
- npm run bootstrap | ||
|
||
script: | ||
- npm run build | ||
- npm run integration | ||
|
||
before_deploy: | ||
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null | ||
- git remote add pub https://github.com/TheSoftwareHouse/node-common.git -f | ||
- git checkout master | ||
- npm install | ||
- npm run bootstrap | ||
- npm run build | ||
- npm run generate-types | ||
|
||
deploy: | ||
provider: script | ||
script: npm run publish | ||
skip_cleanup: true | ||
on: | ||
tags: false | ||
branch: master | ||
#language: node_js | ||
#node_js: | ||
# - 12 | ||
# | ||
#before_script: | ||
# - npm install | ||
# - npm run bootstrap | ||
# | ||
#script: | ||
# - npm run build | ||
# - npm run integration | ||
# | ||
#before_deploy: | ||
# - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null | ||
# - git remote add pub https://github.com/TheSoftwareHouse/node-common.git -f | ||
# - git checkout master | ||
# - npm install | ||
# - npm run bootstrap | ||
# - npm run build | ||
# - npm run generate-types | ||
# | ||
#deploy: | ||
# provider: script | ||
# script: npm run publish | ||
# skip_cleanup: true | ||
# on: | ||
# tags: false | ||
# branch: master |