Skip to content

Commit

Permalink
fix: run semantic-release before release build so we jump version
Browse files Browse the repository at this point in the history
  • Loading branch information
javierguzman committed Sep 27, 2023
1 parent c7c505c commit 1bf2911
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down Expand Up @@ -102,6 +104,10 @@ jobs:
- name: Install node_modules
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile --network-timeout 300000 # sometimes yarn takes time, therefore, we increase the timeout
- name: Run semantic-release to bump version
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: npx semantic-release
- if: runner.os == 'macOS'
name: Setup Apple certificates
env:
Expand Down

0 comments on commit 1bf2911

Please sign in to comment.