Skip to content

Commit

Permalink
chore: release setup
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasbhat0 committed Sep 3, 2024
1 parent a60f101 commit c3a377f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ jobs:

- name: Build
run: yarn build

- name: Ensure build was committed (necessary for Github Actions)
run: "[[ -z $(git status -s dist) ]]"

- name: "[Test] Unit tests"
run: yarn test

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.COPYBARA_ACTION_TOKEN }}
run: GITHUB_EVENT_NAME=push GITHUB_REF=main npx semantic-release -e ./.config/release.config.js

0 comments on commit c3a377f

Please sign in to comment.