Skip to content

Commit

Permalink
Merge pull request #3 from makamekm/makamekm-patch-1-1
Browse files Browse the repository at this point in the history
Create npm_patch_release_minor.yml
  • Loading branch information
makamekm authored Feb 21, 2020
2 parents 5e70229 + 1175d5e commit 1077bb9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/npm_patch_release_minor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Node.js Minor Release

on:
push:
branches:
- release/minor

jobs:
publish_patch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm install
env:
NODE_ENV: development
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "CICD"
- run: git checkout master
- run: git merge release/minor
- run: npm run release:minor
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN_CICD}}
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 1077bb9

Please sign in to comment.