Skip to content

Commit

Permalink
Add pre-release workflow to actions
Browse files Browse the repository at this point in the history
Runs semantic release in dry-run mode on 'non-main' branches
  • Loading branch information
mverkerk-godaddy authored Mar 23, 2022
1 parent 9b1f6a9 commit 47fb004
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Timings CI - pre-release

on:
push:
branches:
- '!main'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
id: semantic
with:
dry_run: true
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
@semantic-release/npm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 47fb004

Please sign in to comment.