diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 03accaf..e44bbf8 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -3,9 +3,11 @@ Closes # ### Description + ### Testing steps + -### Screenshots (optional) \ No newline at end of file +### Screenshots (optional) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 524f281..f15f50d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,13 @@ -stages: - - lint +name: Prettier -prettier: - stage: lint - image: node:20 - script: - - npm ci - - npx prettier --check . +on: [pull_request] +jobs: + prettier: + runs-on: self-hosted + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + - run: npm ci + - run: npx prettier --check .