5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-07 18:56:56 +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 }}

View file

@ -1,4 +1,5 @@
# Semantic Release Action
![](https://github.com/cycjimmy/semantic-release-action/workflows/Test%20Release/badge.svg)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
GitHub Action for [Semantic Release](https://github.com/semantic-release/semantic-release).

View file

@ -1,4 +1,5 @@
module.exports = {
"dryRun": false,
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",