diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 0000000..9f834fc --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,21 @@ +name: pull-request + +on: + pull_request: + branches: + - main + +jobs: + analyze: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version-file: "package.json" + - name: Install dependencies + run: npm ci + - name: Run Analysis + run: npm run analyze