Skip to content

Commit 7d2d8bf

Browse files
committed
Revert "Delete changeset-version.yml"
This reverts commit 27cac4e.
1 parent 0f05237 commit 7d2d8bf

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repo
14+
uses: actions/checkout@master
15+
16+
- name: Setup Node.js 10.x
17+
uses: actions/setup-node@master
18+
with:
19+
version: 10.x
20+
21+
- name: Install Dependencies
22+
run: yarn
23+
24+
- name: Create Release Pull Request or Publish to npm
25+
uses: changesets/action@master
26+
with:
27+
# this expects you to have a script called release which does a build for your packages and calls changeset publish
28+
publish: yarn release
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)