mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-30 18:46:27 +03:00
feat(ci): publish cli.js with --tag next
This commit is contained in:
parent
fa3a10988a
commit
35040076ea
2
.github/workflows/publish-cli-js.yml
vendored
2
.github/workflows/publish-cli-js.yml
vendored
@ -393,7 +393,7 @@ jobs:
|
|||||||
- name: Publish
|
- name: Publish
|
||||||
run: |
|
run: |
|
||||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||||
npm publish
|
npm publish --tag next
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "yarn tsup && node ./scripts/after-build.cjs",
|
"build": "yarn tsup && node ./scripts/after-build.cjs",
|
||||||
"npm-pack": "yarn build && cd ./dist && npm pack",
|
"npm-pack": "yarn build && cd ./dist && npm pack",
|
||||||
"npm-publish": "yarn build && cd ./dist && yarn publish --access public --loglevel silly",
|
"npm-publish": "yarn build && cd ./dist && yarn publish --access public --loglevel silly --tag next",
|
||||||
"lint": "eslint --ext ts \"./src/**/*.ts\"",
|
"lint": "eslint --ext ts \"./src/**/*.ts\"",
|
||||||
"lint-fix": "eslint --fix --ext ts \"./src/**/*.ts\"",
|
"lint-fix": "eslint --fix --ext ts \"./src/**/*.ts\"",
|
||||||
"format": "prettier --write --end-of-line=auto \"./**/*.{cjs,js,jsx,ts,tsx,html,css,json}\" --ignore-path ../../.prettierignore",
|
"format": "prettier --write --end-of-line=auto \"./**/*.{cjs,js,jsx,ts,tsx,html,css,json}\" --ignore-path ../../.prettierignore",
|
||||||
|
Loading…
Reference in New Issue
Block a user