-
-
Notifications
You must be signed in to change notification settings - Fork 2k
34 lines (27 loc) · 715 Bytes
/
release.yml
File metadata and controls
34 lines (27 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Version or Publish
###### TODO ######
## Update to work with release scripts which create a GH release and upload the
## built npm package as an artifact
on:
push:
branches:
- v11
jobs:
changesets:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v2
with:
node-version: 14.x
cache: npm
- name: Install Dependencies
run: yarn --frozen-lockfile
- name: Build
run: yarn build
- name: Create Release Pull Request
uses: changesets/action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}