Update deps tree #108
Workflow file for this run
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: ci | |
on: | |
push: | |
branches-ignore: | |
- 'master' | |
tags-ignore: | |
- '**' | |
jobs: | |
prepack: | |
name: prepack | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12.x | |
- name: Install dependencies | |
run: yarn install | |
- name: Update README | |
run: yarn prepack | |
- name: Remove color char from README | |
run: curl 'https://vtex-toolbelt-test.s3.us-east-2.amazonaws.com/removeTerminalColorFromFile.sh' > tmpColorScrip.sh && bash tmpColorScrip.sh && rm tmpColorScrip.sh | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v4 | |
with: | |
message: "Automatic update on Toolbelt plugin documentation" | |
add: "README.md" | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |