Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit d95852f

Browse files
committed
ci(release): improve release workflow
1 parent 8c15a44 commit d95852f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ name: Release
55

66
on:
77
push:
8-
branches:
9-
- master
108
paths:
119
- "packages/**"
10+
branches:
11+
- master
1212

1313
jobs:
1414
release:
@@ -28,10 +28,8 @@ jobs:
2828
node-version: 12.x
2929

3030
- name: Install dependencies
31-
run: yarn
31+
run: yarn install --frozen-lockfile && yarn bootstrap
3232

33-
- name: Bootstrap
34-
run: yarn bootstrap
3533

3634
- name: Linting
3735
run: yarn lint
@@ -46,8 +44,8 @@ jobs:
4644

4745
- name: Setup CI Git User
4846
run: |
49-
git config --global user.email "[email protected]"
5047
git config --global user.name "codebender828"
48+
git config --global user.email "[email protected]"
5149
5250
- name: Publish packages
5351
uses: changesets/action@master
@@ -56,4 +54,4 @@ jobs:
5654
commit: "chore(release): version packages"
5755
env:
5856
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
59-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
57+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)