From ad52695c5465efb0c2bfcad03059df0245cfc185 Mon Sep 17 00:00:00 2001 From: Matthew W Date: Mon, 9 Dec 2024 18:23:06 +1100 Subject: [PATCH] ci: add github actions workflow for linting and checking formatting --- .github/workflows/lint.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..e890806 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,14 @@ +name: lint +on: [push, pull_request] +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: "package.json" + cache: "pnpm" + - run: pnpm install + - run: pnpm run ci