chore: Automate staging releases with action (#2458)

This commit is contained in:
Oliver Windall Juhl
2022-10-17 18:11:49 +02:00
committed by GitHub
parent 73db8cfca6
commit 7d77d91a3d
3 changed files with 38 additions and 1 deletions

31
.github/workflows/staging-release.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Staging Release
on:
push:
branches:
- develop
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Staging Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Node.js 12.x
uses: actions/setup-node@v2
with:
node-version: 12.x
- name: Install Dependencies
run: yarn
- name: Create Release Pull Request
uses: changesets/action@v1
with:
version: yarn version:staging
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}