-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (31 loc) · 1.11 KB
/
prettier.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# name: Continuous Integration
# on:
# pull_request:
# push:
# # need a personal access token (PAT) instead of GITHUB_TOKEN
# # branches:
# # - main
# # - staging
# # - develop
# jobs:
# prettier:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# with:
# token: ${{ secrets.GITHUB_TOKEN }} # Use GitHub token for authentication
# ref: ${{ github.head_ref }}
# - name: Use Node.js
# uses: actions/setup-node@v2
# with:
# node-version: '18'
# - name: Install Dependencies
# run: yarn install --frozen-lockfile
# - name: Prettify code
# uses: creyD/[email protected]
# with:
# # This part is also where you can pass other options, for example:
# prettier_options: --write .
# # Use GitHub token for authentication
# github_token: ${{ secrets.GITHUB_TOKEN }}