From e5aeb04679be9e1d66f58bdf649fff541f6f9c0d Mon Sep 17 00:00:00 2001 From: Tomasz Pluskiewicz Date: Thu, 14 Nov 2024 12:09:13 +0100 Subject: [PATCH] ci: linting workflow --- .github/workflows/ci.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..342cdf7 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,18 @@ +name: CI + +on: + push: + pull_request: + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-node@v4 + with: + node-version: 'lts/*' + - run: npm ci + - run: npm run lint