From 3584057a37bc68c44e8675e8f0a7ccd5ba066f59 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Fri, 13 Sep 2024 10:18:57 -0400 Subject: [PATCH] build: add lint workflow Signed-off-by: Adam Setch --- .github/workflows/lint.yml | 22 ++++++++++++++++++++++ src/env.d.ts | 1 + 2 files changed, 23 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..fcf716b --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,22 @@ +name: Linting + +on: + push: + branches: + - main + pull_request: + +jobs: + lint: + name: biomejs + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v3 + - uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + cache: 'pnpm' + - run: pnpm install + - run: pnpm lint:check diff --git a/src/env.d.ts b/src/env.d.ts index f964fe0..acef35f 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -1 +1,2 @@ +/// ///