mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2025-11-07 10:46:56 +00:00
test(testRelease): add Test Release workflow
This commit is contained in:
parent
efff82e9ad
commit
89d549d2ff
3 changed files with 29 additions and 0 deletions
27
.github/workflows/testRelease.yml
vendored
Normal file
27
.github/workflows/testRelease.yml
vendored
Normal 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 }}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
# Semantic Release Action
|
# Semantic Release Action
|
||||||
|

|
||||||
[](https://github.com/semantic-release/semantic-release)
|
[](https://github.com/semantic-release/semantic-release)
|
||||||
|
|
||||||
GitHub Action for [Semantic Release](https://github.com/semantic-release/semantic-release).
|
GitHub Action for [Semantic Release](https://github.com/semantic-release/semantic-release).
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
"dryRun": false,
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@semantic-release/commit-analyzer",
|
"@semantic-release/commit-analyzer",
|
||||||
"@semantic-release/release-notes-generator",
|
"@semantic-release/release-notes-generator",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue