lanan-old/rescue-driver/node_modules/weapp-qrcode/.travis.yml

23 lines
443 B
YAML
Raw Permalink Normal View History

2024-07-17 14:16:22 +08:00
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