webder/.github/workflows/format-check.yml

24 lines
462 B
YAML
Raw Permalink Normal View History

2024-03-21 14:47:07 +03:00
name: format-check
on: pull_request
jobs:
format-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
2024-05-16 16:44:49 +03:00
uses: actions/checkout@v4
2024-03-21 14:47:07 +03:00
- name: Set up Node.js
2024-05-16 16:44:49 +03:00
uses: actions/setup-node@v4
2024-03-21 14:47:07 +03:00
with:
2024-05-16 16:44:49 +03:00
node-version: '20'
- uses: pnpm/action-setup@v4
with:
version: 9
2024-03-21 14:47:07 +03:00
- name: Install dependencies
2024-05-16 16:44:49 +03:00
run: pnpm install
2024-03-21 14:47:07 +03:00
2024-05-16 16:44:49 +03:00
- name: Start build
run: pnpm run format:check