Skip to content

Commit

Permalink
chore: opt publish npm yml (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
landluck authored Jul 19, 2024
1 parent 3969c04 commit 9f42e34
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 @@ -24,6 +24,9 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Update package version
run: |
yarn workspace @zent/compat version --no-git-tag-version --new-version ${{ github.event.release.tag_name }}
- run: yarn --frozen-lockfile
- run: yarn workspace @zent/compat build
- run: yarn workspace @zent/compat publish --non-interactive
Expand All @@ -49,6 +52,9 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Update package version
run: |
yarn workspace @zent/compat version --no-git-tag-version --new-version ${{ github.event.release.tag_name }}
- run: yarn --frozen-lockfile
- run: yarn workspace @zent/compat build
- run: yarn workspace @zent/compat publish --non-interactive --tag=beta
Expand Down

0 comments on commit 9f42e34

Please sign in to comment.