mirror of
https://github.com/TxtDot/webder.git
synced 2024-11-05 13:13:59 +03:00
23 lines
462 B
YAML
23 lines
462 B
YAML
name: format-check
|
|
on: pull_request
|
|
jobs:
|
|
format-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20'
|
|
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 9
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
|
|
- name: Start build
|
|
run: pnpm run format:check
|