Skip to content

Commit

Permalink
Fix publish (#1869)
Browse files Browse the repository at this point in the history
* fix changeset job

* rm ts-downlevel script

* Update release.yml
  • Loading branch information
TheSonOfThomp authored Jul 26, 2023
1 parent c5d01b3 commit 038f621
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Version
name: Release

on:
push:
Expand Down Expand Up @@ -104,12 +104,12 @@ jobs:
!**/node_modules
key: ${{ runner.os }}-build-cache-${{ hashFiles('**/src/', '!**/node_modules', '!**/dist') }}

- name: Create Release Pull Request
- name: Version packages
id: changesets
uses: changesets/action@v1
with:
version: yarn changeset version
publish: yarn publish:packages
publish: yarn publish
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
NPM_TOKEN: '${{ secrets.NPM_TOKEN }}'
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"link": "lg link",
"lint": "lg lint",
"prepublishOnly": "yarn build",
"prepublish:ts-downlevel": "rm -rf packages/*/dist/ts3.4 && echo packages/*/dist | NODE_NO_WARNINGS=1 xargs -I{} -n1 -P8 downlevel-dts {} {}/ts3.4",
"publish": "yarn changeset publish --public",
"slackbot": "lg-slackbot",
"start": "storybook dev -p 9001 --no-version-updates",
Expand Down

0 comments on commit 038f621

Please sign in to comment.