lanan-repair/node_modules/weapp-qrcode/.travis.yml
2024-09-23 22:34:12 +08:00

23 lines
443 B
YAML

language: node_js
sudo: required
node_js:
- 10.0.0
cache:
directories:
- node_modules
before_install:
- export TZ='Asia/Shanghai'
install:
- npm install
script:
- npm run publish
after_script:
- git init
- git config user.name "${USER_NAME}"
- git config user.email "${USER_EMAIL}"
- git add .
- git commit -m "publish"
- git push -f https://${access_token}@github.com/yingye/weapp-qrcode HEAD:master
branch: master