Skip to content

Commit ebfae21

Browse files
committed
fix(repo): use yarn in release workflow
1 parent 562c7fa commit ebfae21

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,21 @@ jobs:
4848
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949

5050
- name: Install dependencies
51-
run: npm ci
51+
run: yarn install --frozen-lockfile
5252

53-
- name: Build and release
53+
- name: Build and Release packages
5454
run: |
5555
node ./node_modules/.bin/nx release --yes
5656
env:
57-
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
58-
NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
57+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
58+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5959
NPM_CONFIG_PROVENANCE: true
6060
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61-
if: github.ref == 'refs/heads/main' && github.event.inputs.docs_only == 'false'
61+
if: github.ref == 'refs/heads/master' && github.event.inputs.docs_only == 'false'
6262

63-
- name: Deploy
63+
- name: Deploy Docs Site
6464
run: |
6565
npx nx deploy docs-site
6666
env:
6767
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68-
if: github.ref == 'refs/heads/main'
68+
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)