From 0debb5947485fdbf109341c1f088851362af1d0f Mon Sep 17 00:00:00 2001 From: Shotaro Nakamura <79000684+nakasyou@users.noreply.github.com> Date: Fri, 2 May 2025 16:51:42 +0900 Subject: [PATCH] ci: add codestyle ci (#1149) --- .github/workflows/codestyle.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/codestyle.yml diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml new file mode 100644 index 00000000..8c966f2e --- /dev/null +++ b/.github/workflows/codestyle.yml @@ -0,0 +1,18 @@ +name: codestyle +on: + push: + branches: [main] + pull_request: + branches: ['*'] + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20.x + - run: yarn + - run: yarn format + - run: yarn lint