Skip to content

Commit

Permalink
chore: add github action for checking file format
Browse files Browse the repository at this point in the history
  • Loading branch information
clins1994 committed May 1, 2024
1 parent 3eeaefe commit b7fbb72
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: check css format

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
check-format:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: install node.js and npm
uses: actions/setup-node@v2
with:
node-version: '20'
- name: install prettier
run: npm i prettier -g
- name: check format using prettier
run: prettier --check '*.css'

0 comments on commit b7fbb72

Please sign in to comment.