Skip to content

prerelease: v0.2.1-dev.1 #48

prerelease: v0.2.1-dev.1

prerelease: v0.2.1-dev.1 #48

Workflow file for this run

name: Push workflow
on:
push:
branches:
- dev
- master
jobs:
release-version:
name: Releasing a version
runs-on: ubuntu-latest
if: ${{ !startsWith(github.event.head_commit.message, 'release') || (github.ref_name == 'master' && !startsWith(github.event.head_commit.message, 'release')) }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.USER_TOKEN }}
- uses: actions/setup-node@v2
with:
node-version: 14
- name: Install node_modules
run: yarn
- name: Run release script
run: yarn run release
env:
GITHUB_TOKEN: ${{ secrets.USER_TOKEN }}
GH_TOKEN: ${{ secrets.USER_TOKEN }}