summaryrefslogtreecommitdiffstats
path: root/fastify-busboy/.github/workflows/linting.yml
diff options
context:
space:
mode:
Diffstat (limited to 'fastify-busboy/.github/workflows/linting.yml')
-rw-r--r--fastify-busboy/.github/workflows/linting.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/fastify-busboy/.github/workflows/linting.yml b/fastify-busboy/.github/workflows/linting.yml
new file mode 100644
index 0000000..407f53e
--- /dev/null
+++ b/fastify-busboy/.github/workflows/linting.yml
@@ -0,0 +1,35 @@
+---
+
+name: Linting and Types
+
+on:
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ name: Linting and Types
+
+ strategy:
+ matrix:
+ node-version: [16.x]
+
+ steps:
+ - name: Checkout Repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 1
+
+ - name: Setup Node ${{ matrix.node-version }}
+ uses: actions/setup-node@v4
+ with:
+ always-auth: false
+ node-version: ${{ matrix.node-version }}
+
+ - name: Run npm install
+ run: npm install
+
+ - name: Run lint:everything
+ run: npm run lint:everything