diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 80b56fd..41377e7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,4 +1,4 @@ -name: npm test +name: Build on: push: @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "22" + node-version: '22' - name: Install dependencies run: npm install - name: Run linter diff --git a/package.json b/package.json index f072832..975d21e 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "build": "tsc -b && vite build", "lint": "eslint .", "preview": "vite preview", + "format:check": "prettier --check ./src", "format": "prettier --write ./src", "test": "vitest" },