v0.0.37 : window.tiara 에 대한 type 선언 코드 추가 및 패키지 버전 최신화 #38
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: package-deploy-release | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
publish-release-registry: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 18 | |
# registry-url: https://npm.pkg.github.com/ | |
registry-url: https://registry.npmjs.org/ | |
- run: npm install | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.PACKAGE_PUBLISH_KEY_GITHUB}} | |
- run: npm run pack:cli:build | |
- run: npm run pack:lib:build | |
- run: npm run pack:lib:build:tsc | |
- run: rm -rf ./src | |
- run: rm -rf ./src-cli | |
- run: rm -rf ./src-lib | |
- run: rm -rf ./.github | |
- run: rm -rf ./package-lock.json | |
- run: rm -rf ./tailwind.config.js | |
- run: rm -rf ./postcss.config.js | |
- run: rm -rf ./tsconfig.json | |
- run: rm -rf ./esbuild.cli.config.js | |
- run: rm -rf ./esbuild.lib.config.js | |
- run: rm -rf ./global.d.ts | |
# - run: mv ./lib/src-lib ./src-lib | |
- run: mv ./index.ts ./index.d.ts | |
# - run: npm publish | |
- run: npm publish --access=public | |
env: | |
# NODE_AUTH_TOKEN: ${{secrets.PACKAGE_PUBLISH_KEY_GITHUB}} | |
NODE_AUTH_TOKEN: ${{secrets.PACKAGE_PUBLISH_KEY_NPM}} |