-
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 703 Bytes
/
release.yml
File metadata and controls
27 lines (27 loc) · 703 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
name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
container:
image: node:15-buster
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v2
with:
# This makes Actions fetch all Git history so that Changesets can
# generate changelogs with the correct commits.
fetch-depth: 0
- name: Install
run: yarn
- name: Changesets
uses: changesets/action@b3300fad33b6ab794313da28d27424c0e2f78991
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
publish: npx changeset publish