Skip to content

fix: add workflows for PR code check and PR naming linter #2

fix: add workflows for PR code check and PR naming linter

fix: add workflows for PR code check and PR naming linter #2

Workflow file for this run

name: PR Code Checker
on:
pull_request:
branches: [ master ]
jobs:
lint_and_check_build:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v4
- name: Setup nodejs
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Install yarn
run: npm install -g yarn
- name: Install dependencies
run: yarn
- name: Run linter
run: yarn lint
- name: Run builder
run: yarn build