Skip to content

Commit 2a433c8

Browse files
committed
Revert "fix: publish package from root dir (using workspace)"
This reverts commit 3607afe.
1 parent 0a9c48b commit 2a433c8

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,11 @@ jobs:
9696
# with:
9797
# package_name: scratch-gui
9898

99-
# - name: Publish scratch-gui to GitHub Packages
100-
# working-directory: ./packages/scratch-gui
101-
# env:
102-
# NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for publishing private npm packages
103-
# run: |
104-
# RELEASE_VERSION="0.1.0-experience-cs.$(date +'%Y%m%d%H%M%S')"
105-
# npm version --no-git-tag-version $RELEASE_VERSION
106-
# npm publish --access public --tag latest
107-
- name: Publish scratch-gui
108-
run: |
109-
RELEASE_VERSION="0.1.0-experience-cs.$(date +'%Y%m%d%H%M%S')"
110-
npm version --no-git-tag-version $RELEASE_VERSION --workspace=@RaspberryPiFoundation/scratch-gui
111-
npm publish --access=public --tag latest --workspace=@RaspberryPiFoundation/scratch-gui
99+
- name: Publish scratch-gui to GitHub Packages
100+
working-directory: ./packages/scratch-gui
112101
env:
113102
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for publishing private npm packages
103+
run: |
104+
RELEASE_VERSION="0.1.0-experience-cs.$(date +'%Y%m%d%H%M%S')"
105+
npm version --no-git-tag-version $RELEASE_VERSION
106+
npm publish --access public --tag latest

0 commit comments

Comments
 (0)