diff --git a/.github/workflows/check-pr-maci.yml b/.github/workflows/check-pr-maci.yml new file mode 100644 index 00000000..4119bb82 --- /dev/null +++ b/.github/workflows/check-pr-maci.yml @@ -0,0 +1,33 @@ +name: Check Pull Request MACI + +on: + pull_request: + branches: + - MACI + push: + branches: + - MACI_DO + +jobs: + check: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: "18" + + - name: Install dependencies + run: npm ci + + - name: Lint + run: npm run lint + + - name: Build + run: npm run build + + - name: Tests + run: npm run test diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index e2f553d7..9daf757c 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -2,7 +2,8 @@ name: Check Pull Request on: pull_request: - branches: ["*"] + branches: + - main jobs: check: @@ -20,5 +21,3 @@ jobs: flyctl -c fly.staging.toml deploy --remote-only --build-only env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_STAGE }} - -