diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml new file mode 100644 index 0000000..e1ce008 --- /dev/null +++ b/.github/workflows/check.yaml @@ -0,0 +1,29 @@ +name: CHECK + +on: + pull_request: + push: + branches: + - main + +jobs: + install: + runs-on: ubuntu-latest + steps: + - name: checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: setup package manager + uses: pnpm/action-setup@v4 + with: + run_install: false + - name: install node + uses: actions/setup-node@v4 + with: + cache: 'pnpm' + node-version-file: '.nvmrc' + - name: install dependencies + run: pnpm install + - name: lint codebase + run: pnpm lint