diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 02e358f..5f70ae0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,3 +8,7 @@ updates: - "/scripts" schedule: interval: "monthly" + ignore: + # Ignore packages which are very outdated and need to be updated manually. + - dependency-name: "puppeteer" + - dependency-name: "rc-slider" diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 858f0e9..e8737dc 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -1,10 +1,15 @@ -name: Deploy prod frontend on merge +name: Deploy prod website on merge on: push: branches: - master + paths: + - 'website/**' + - '.firebaserc' + - '.prettierrc' + - 'firebase.json' jobs: - build_and_deploy: + deploy_functions_prod: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 9b1bdec..01ed03c 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -1,11 +1,17 @@ -name: Deploy frontend preview on PR -on: pull_request +name: Preview staging website on PR +on: + pull_request: + paths: + - 'website/**' + - '.firebaserc' + - '.prettierrc' + - 'firebase.json' permissions: checks: write contents: read pull-requests: write jobs: - build_and_preview: + deploy_functions_stag: if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} runs-on: ubuntu-latest steps: diff --git a/.github/workflows/scripts-ci.yml b/.github/workflows/scripts-ci-push.yml similarity index 83% rename from .github/workflows/scripts-ci.yml rename to .github/workflows/scripts-ci-push.yml index aa190cd..5be54f5 100644 --- a/.github/workflows/scripts-ci.yml +++ b/.github/workflows/scripts-ci-push.yml @@ -1,7 +1,11 @@ -name: Run Scripts CI on push -on: [push] +name: Run scripts CI on push +on: + push: + paths: + - 'scripts/**' + - '.prettierrc' jobs: - scripts-ci: + scripts-ci-push: runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/.github/workflows/frontend-ci.yml b/.github/workflows/website-ci-push.yml similarity index 80% rename from .github/workflows/frontend-ci.yml rename to .github/workflows/website-ci-push.yml index 3eece11..b136d41 100644 --- a/.github/workflows/frontend-ci.yml +++ b/.github/workflows/website-ci-push.yml @@ -1,7 +1,11 @@ -name: Run Frontend CI on push -on: [push] +name: Run website CI on push +on: + push: + paths: + - 'website/**' + - '.prettierrc' jobs: - frontend-ci: + website-ci-push: runs-on: ubuntu-latest steps: - name: Checkout code