1 Star 10 Fork 0

Authi.ng/authing-wxapp-sdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.gitlab-ci.yml 741 Bytes
一键复制 编辑 原始数据 按行查看 历史
Changjiang Liao 提交于 2021-02-27 16:15 +08:00 . update gitlab ci config
image: node:12.14.0
stages:
- publish
before_script:
- mkdir -p ~/.ssh
- touch ~/.ssh/id_rsa
- touch ~/.ssh/config
- chmod 700 ~/.ssh/id_rsa
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- echo "$SSH_CONFIG" > ~/.ssh/config
- |
case "$CI_COMMIT_REF_NAME" in
"master")
PUBLISH_OPTS="--verbose"
;;
*)
PUBLISH_OPTS="--verbose --tag=alpha"
;;
esac
publish:
stage: publish
when: manual
script:
- npm install --registry https://registry.npm.taobao.org/
- npm run build
- npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
- npm publish ${PUBLISH_OPTS}
- echo "记得同步 taobao 源哦: https://npm.taobao.org/sync/authing-wxapp-sdk 🚀"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Authi_ng/authing-wxapp-sdk.git
git@gitee.com:Authi_ng/authing-wxapp-sdk.git
Authi_ng
authing-wxapp-sdk
authing-wxapp-sdk
master

搜索帮助