Skip to content

Commit

Permalink
fix(repo): use yarn in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Jul 28, 2024
1 parent 562c7fa commit ebfae21
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,21 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
run: npm ci
run: yarn install --frozen-lockfile

- name: Build and release
- name: Build and Release packages
run: |
node ./node_modules/.bin/nx release --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: github.ref == 'refs/heads/main' && github.event.inputs.docs_only == 'false'
if: github.ref == 'refs/heads/master' && github.event.inputs.docs_only == 'false'

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

0 comments on commit ebfae21

Please sign in to comment.