Skip to content

Commit

Permalink
build before setting version
Browse files Browse the repository at this point in the history
  • Loading branch information
Kemosabert committed Oct 15, 2024
1 parent 4c83999 commit b998b42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Build the library
run: yarn build

- name: Get the version
id: get_version
run: echo "tag=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT

- name: Set the version
run: npm --no-git-tag-version version ${{ steps.get_version.outputs.tag }}

- name: Build the library
run: yarn build

# - name: Publish to NPM
# run: |
# echo "Publishing version ${{ steps.get_version.outputs.tag }} to NPM"
Expand Down

0 comments on commit b998b42

Please sign in to comment.