Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
toririm committed Oct 5, 2024
1 parent 811a0f2 commit b7660ae
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
name: check
on: push
on:
push:
paths:
- "pos/**"
- ".github/workflows/check.yml"

defaults:
run:
working-directory: ./pos

jobs:
biome:
runs-on: ubuntu-latest
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ on:
push:
branches:
- main
paths:
- "pos/**"
- ".github/workflows/firebase-hosting-merge.yml"

defaults:
run:
working-directory: ./pos

jobs:
build_and_deploy:
runs-on: ubuntu-latest
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,22 @@
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on PR
on: pull_request

on:
pull_request:
paths:
- "pos/**"
- ".github/workflows/firebase-hosting-pull-request.yml"

defaults:
run:
working-directory: ./pos

permissions:
checks: write
contents: read
pull-requests: write

jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: reviewdog
on: [pull_request]

jobs:
biome:
name: runner / biome
Expand Down

0 comments on commit b7660ae

Please sign in to comment.