Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #27 from frontsideair/action-publish
Browse files Browse the repository at this point in the history
Publish action
  • Loading branch information
frontsideair authored Jan 31, 2020
2 parents bd2858f + 3cc2d59 commit 15ffd75
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 16 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lerna-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lerna publish

"on":
release:
types: [created]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: npx lerna bootstrap
- run: npx lerna publish from-package
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
7 changes: 5 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ jobs:
node-version: [8.x, 10.x, 12.x]

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npx lerna bootstrap
- run: npx lerna run test
env:
CI: true
6 changes: 4 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"packages": ["packages/*"],
"version": "1.0.0"
"packages": [
"packages/*"
],
"version": "1.0.1"
}
2 changes: 1 addition & 1 deletion packages/tegel-example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions packages/tegel-example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tegel-example",
"version": "1.0.0",
"version": "1.0.1",
"description": "An example Node.js app with feature toggles handled by tegel",
"main": "index.js",
"scripts": {
Expand All @@ -17,10 +17,10 @@
"homepage": "http://github.com/frontsideair/tegel",
"license": "MIT",
"dependencies": {
"tegel": "^1.0.0",
"tegel-router": "^1.0.0",
"express": "^4.17.1",
"keyv": "^4.0.0"
"keyv": "^4.0.0",
"tegel": "^1.0.1",
"tegel-router": "^1.0.1"
},
"devDependencies": {
"jest": "^24.9.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/tegel-router/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/tegel-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tegel-router",
"version": "1.0.0",
"version": "1.0.1",
"description": "Simple Express.js app/router for toggling feature flags with tegel",
"main": "index.js",
"keywords": [
Expand All @@ -25,14 +25,14 @@
"bugs": "http://github.com/frontsideair/tegel/issues",
"license": "MIT",
"peerDependencies": {
"tegel": "^1.0.0",
"body-parser": "^1.19.0",
"express": "^4.17.1",
"body-parser": "^1.19.0"
"tegel": "^1.0.0"
},
"devDependencies": {
"tegel": "^1.0.0",
"body-parser": "^1.19.0",
"express": "^4.17.1",
"body-parser": "^1.19.0"
"tegel": "^1.0.1"
},
"engines": {
"node": ">=8.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/tegel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tegel",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple feature toggle service for Node.js",
"main": "index.js",
"keywords": [
Expand Down

0 comments on commit 15ffd75

Please sign in to comment.