Skip to content

Setting up Github Actions & Dependabot #49

Setting up Github Actions & Dependabot

Setting up Github Actions & Dependabot #49

Workflow file for this run

name: Prettier Action
on:
pull_request:
branches: ["main"]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: NPM Install
run: npm i
- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: "--write **/*.tsx **/*.tsx **/*.mjs"
prettier_version: '2.x.x'