Skip to content

Commit 27b110a

Browse files
committed
add prerelease workflow
1 parent daded5c commit 27b110a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/prerelease.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- next
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repo
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Setup Node.js 16.x
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: 16
22+
23+
- name: Install
24+
run: yarn --frozen-lockfile
25+
26+
- name: Create Release Pull Request
27+
uses: changesets/action@master
28+
with:
29+
public: 'yarn release'
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)