Skip to content

Commit

Permalink
chore: split check-pr workflows for maci digital ocean
Browse files Browse the repository at this point in the history
  • Loading branch information
hussedev committed Jul 18, 2024
1 parent e23600b commit c40ad1f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/check-pr-maci.yml
Original file line number Diff line number Diff line change
@@ -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
5 changes: 2 additions & 3 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Check Pull Request

on:
pull_request:
branches: ["*"]
branches:
- main

jobs:
check:
Expand All @@ -20,5 +21,3 @@ jobs:
flyctl -c fly.staging.toml deploy --remote-only --build-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_STAGE }}


0 comments on commit c40ad1f

Please sign in to comment.