.github/workflows/versioning-preview-workflow.yml
name: Versioning (Alpha)
on:
push:
branches-ignore:
- main
- master
jobs:
versioning:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Publish new release (if applicable)
run: npx or-release --pre-release=alpha --repository=$GITHUB_REPOSITORY
env:
OR_RELEASE_TOKEN: ${{ secrets.OR_RELEASE_TOKEN }}