mirror of
https://github.com/software-mansion/argent.git
synced 2026-09-14 19:27:14 +08:00
724ffc8ca5
* ci: add prettier format check workflow
* test: prettier err
* Revert "test: prettier err"
This reverts commit a5f7a18ddd.
30 lines
467 B
YAML
30 lines
467 B
YAML
name: Format
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
format:
|
|
name: Prettier check
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Check formatting
|
|
run: npx prettier --check .
|