diff --git a/.github/workflows/dev-branch.yml b/.github/workflows/dev-branch.yml new file mode 100644 index 0000000..4373b9f --- /dev/null +++ b/.github/workflows/dev-branch.yml @@ -0,0 +1,22 @@ +on: + pull_request: + branches: + - dev + paths: + - "server/**" + +jobs: + server-format-check: + runs-on: ubuntu-latest + defaults: + run: + working-directory: server + steps: + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 + with: + node-version: 24 + cache: 'npm' + cache-dependency-path: server/package-lock.json + - run: npm install + - run: npm run format:write diff --git a/.gitignore b/.gitignore index 821c19d..a46ae92 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -.github \ No newline at end of file +# .github \ No newline at end of file