From 71f846f252a8eb262354a2bf0264d47cfd67f167 Mon Sep 17 00:00:00 2001 From: Isaiah Thomason <47364027+ITenthusiasm@users.noreply.github.com> Date: Mon, 1 Jan 2024 20:31:19 -0500 Subject: [PATCH] WIP: Try Automating Code Linting --- .github/workflows/lint-code.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/lint-code.yml diff --git a/.github/workflows/lint-code.yml b/.github/workflows/lint-code.yml new file mode 100644 index 0000000..c0dce43 --- /dev/null +++ b/.github/workflows/lint-code.yml @@ -0,0 +1,20 @@ +name: Lint Code +on: + push: + branches: ["**"] + pull_request: + branches: [main] +jobs: + lint: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18 + cache: "npm" + - name: "Install Dependencies" + run: npm ci + - name: "Run Linters" + run: npm run lint