Fix terser mangle in split mode #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
name: "Publish to npm registry" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.17.0' | |
- run: npm ci | |
- run: npm test | |
- run: npm run deploy | |
- run: rm -f .npmrc | |
- uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 | |
if: github.event_name == 'release' | |
with: | |
token: ${{ secrets.NPM_PUBLISH }} | |
registry: "https://registry.npmjs.org" | |
package: deploy |