11
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2026-04-06 14:06:54 +00:00

test(testRelease): add Test Release workflow

This commit is contained in:
cycjimmy 2019-10-18 14:17:47 +08:00
parent efff82e9ad
commit 89d549d2ff
3 changed files with 29 additions and 0 deletions

27
.github/workflows/testRelease.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Test Release
on:
push:
branches:
- master
jobs:
test:
name: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Semantic Release
uses: cycjimmy/semantic-release-action@master
with:
extra_plugins: |
@semantic-release/git
@semantic-release/changelog
dry_run: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}