Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: update format command to use format:check in PR workflow and a… #103

chore: update format command to use format:check in PR workflow and a…

chore: update format command to use format:check in PR workflow and a… #103

name: Typescript Pull Request Check
permissions:
contents: read
on:
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
checking-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "yarn"
- name: Install dependencies
run: yarn install
- name: Run Prettier
run: yarn format:check
- name: Run lint
run: yarn lint
- name: Run test
run: yarn test:full
- name: Run build
run: yarn build