Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,14 @@ jobs:
registry-url: https://registry.npmjs.org

- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# Build docs/definitions, and remove dev values
# from package.json before publishing to reduce package size
run: |
npm i -g npm@latest
npm i --ignore-scripts
npm run build --if-present
npm pkg delete commitlint devDependencies scripts
npm publish --access public --ignore-scripts --provenance
npm publish --access public --ignore-scripts

publish-ghp:
name: Publish to GitHub Packages
Expand Down Expand Up @@ -103,6 +102,7 @@ jobs:
# Build docs/definitions, and remove dev values
# from package.json before publishing to reduce package size
run: |
npm i -g npm@latest
npm i --ignore-scripts
npm run build --if-present
npm pkg delete commitlint devDependencies scripts
Expand Down
Loading