From 6ee4f25e229d06556c8b80270fe96d9787e3b0b1 Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Mon, 14 Oct 2024 20:11:29 -0500 Subject: [PATCH] feat: lint dir & worflow to do so, UNTESTED --- .../workflows/only-commit-source-to-trunk.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/only-commit-source-to-trunk.yml diff --git a/.github/workflows/only-commit-source-to-trunk.yml b/.github/workflows/only-commit-source-to-trunk.yml new file mode 100644 index 000000000..48002e023 --- /dev/null +++ b/.github/workflows/only-commit-source-to-trunk.yml @@ -0,0 +1,17 @@ +# Do not let built-in-place files be comitted to `main` branch +name: Lint +on: [push] +# on: +# push: +# branches: +# - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Lint (Directories) + uses: actions/setup-node@v4 + with: + node-version: '20.x' + - run: npm run lint:dirs