fix: ms change first #3
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 | |
tags-ignore: | |
- '**' | |
paths: | |
- 'src/**/*.ts' | |
jobs: | |
test: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Installing dependencies | |
run: npm install | |
- name: Running Prettier | |
run: npx prettier src/**/*.ts --write | |
- name: Commit | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: 'chore: prettier' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |