Skip to content

Commit

Permalink
Chore: Revert to publishing locally
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Apr 10, 2024
1 parent 6a74e78 commit 0f053cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,6 @@ jobs:
args: --acl public-read --follow-symlinks --delete --cache-control "max-age=1209600"
env:
DEST_DIR: 'latest'

# Publish to NPM
- name: Publish Latest Release
if: github.event_name == 'release' && github.event.release.prerelease == false && env.NODE_AUTH_TOKEN != ''
run: npm run publish-ci

# Publish to NPM with prerelease dist-tag
- name: Publish Latest Prerelease
if: github.event_name == 'release' && github.event.release.prerelease && env.NODE_AUTH_TOKEN != ''
run: npm run publish-ci
env:
XS_PUBLISH_TAG: prerelease

# Automatically attach browser files to release
- name: Upload to Release
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@
"copy:dist": "copyfiles -u 1 dist/* deploy",
"copy:assets": "copyfiles \"{dist,docs,screenshots,examples,demo}/**\" deploy",
"deploy": "xs clean,build,docs && run-s screenshots && xs upload",
"release": "xs bump,test && run-s deploy && xs git-push",
"publish-ci": "xs publish",
"release": "xs bump,test && run-s deploy && xs publish,git-push",
"generate-exports": "node --no-warnings=ExperimentalWarning scripts/generate-exports.mjs"
},
"pre-commit": [
Expand Down

0 comments on commit 0f053cf

Please sign in to comment.