feat: add @warp-ds and @borealis prefixes to packages lists (#5) #18
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: prettier | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: use node.js 12 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: prettify code | |
run: | | |
npx prettier --write **/* | |
- name: commit changes | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git commit -am "chore(prettier): format code" | |
continue-on-error: true | |
- name: push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |