Skip to content

feat: prettier workflow for js files #2

feat: prettier workflow for js files

feat: prettier workflow for js files #2

Workflow file for this run

name: Prettier Code Formatter
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run Prettier on JS files
run: npx prettier --write 'js/**/*.js'