From 87d5ff2492143e06adcf09f7bc7c87c908317adc Mon Sep 17 00:00:00 2001 From: mohsinansare Date: Tue, 8 Apr 2025 21:25:08 -0400 Subject: [PATCH] update files --- .github/workflow/main.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflow/main.yml diff --git a/.github/workflow/main.yml b/.github/workflow/main.yml new file mode 100644 index 00000000..d12a5f6a --- /dev/null +++ b/.github/workflow/main.yml @@ -0,0 +1,34 @@ +# Name of workflow +name: Lint workflow + +# Trigger workflow on all pull requests +on: + pull_request: + branches: + - develop + - staging + +# Jobs to carry out +jobs: + test: + # Operating system to run job on + runs-on: ubuntu-latest + + # Steps in job + steps: + # Get code from repo + - name: Checkout code + uses: actions/checkout@v1 + + - name: Use Node.js 21.x + uses: actions/setup-node@v1 + with: + node-version: 21.x + + # Install dependencies + - name: 🧰 Install Deps + run: npm install + + # Run lint + - name: Run Lint + run: npm run lint