build-module-version-up #11
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: build-module-version-up | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: version up | |
run: | | |
cd admin | |
npm version patch | |
- name: npm update | |
run: | | |
cd admin | |
npm update | |
npm update --save | |
- name: bower update | |
run: | | |
npm install -g bower | |
cd admin/static | |
bower install jquery moment fontawesome --save | |
- name: Commit changes | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -am "module version up" | |
git push |