Skip to content

Commit

Permalink
Have build workflows run on all pushes/pr to main (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakycrow authored Oct 31, 2024
1 parent 9fb85d6 commit a861ebc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DATABASE_URL=
API_URL=http://localhost:3000
JWT_SECRET=
8 changes: 0 additions & 8 deletions .github/workflows/build-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,8 @@ name: build api
on:
push:
branches: [main]
paths:
- "packages/api/**"
- "Cargo.toml"
- "Cargo.lock"
pull_request:
branches: [main]
paths:
- "packages/api/**"
- "Cargo.toml"
- "Cargo.lock"

jobs:
build:
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/build-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,8 @@ name: build web
on:
push:
branches: [main]
paths:
- "packages/web/**"
- "package.json"
- "yarn.lock"
- ".github/workflows/build-web.yml"
pull_request:
branches: [main]
paths:
- "packages/web/**"
- "package.json"
- "yarn.lock"
- ".github/workflows/build-web.yml"

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ start-api:
start-web:
yarn start

dev-api: start-api

dev-web:
yarn dev

Expand Down

0 comments on commit a861ebc

Please sign in to comment.