diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 798bd49..4b7e678 100755 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -3,7 +3,7 @@ name: Zone on: push: branches: - - main + - master schedule: - cron: "0 0 * * *" @@ -18,3 +18,16 @@ jobs: - name: Check out repo uses: actions/checkout@v4 + - name: Set up Node + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Install dependencies + run: npm install + + - name: Run gated analysis + shell: pwsh + env: + DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} + run: ./scripts/gated-analysis.ps1 \ No newline at end of file