Skip to content

Commit

Permalink
Merge pull request #13 from TheSoftwareHouse/feature/RAD-345-obfuscat…
Browse files Browse the repository at this point in the history
…e-logger

Feature/rad 345 obfuscate logger
  • Loading branch information
mkopa authored Dec 22, 2020
2 parents 149135b + 5a06ec8 commit f55bd9c
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 28 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/node.js.yml
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
20 changes: 20 additions & 0 deletions .github/workflows/npm.yml
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 }}
56 changes: 28 additions & 28 deletions .travis.yml
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

0 comments on commit f55bd9c

Please sign in to comment.