diff --git a/.github/workflows/vitest.yml b/.github/workflows/vitest.yml index dbb0b81..ab379c8 100644 --- a/.github/workflows/vitest.yml +++ b/.github/workflows/vitest.yml @@ -1,6 +1,8 @@ name: "Test" on: + push: + branches: ["remove-firebaserc"] pull_request_target: branches: [main] @@ -43,6 +45,11 @@ jobs: key: ${{ runner.os }}-firebase-emulators-${{ github.sha }} restore-keys: | ${{ runner.os }}-firebase-emulators- + - name: Google Auth + id: auth + uses: 'google-github-actions/auth@v2' + with: + credentials_json: '${{ secrets.GCP_CREDENTIALS }}' - uses: pnpm/action-setup@v3 with: version: 9 @@ -51,6 +58,8 @@ jobs: with: node-version: 20.x cache: "pnpm" + - run: pnpm install -g firebase-tools + - run: firebase use ${{ vars.PROJECT_ID }} - name: "Install Dependencies" run: pnpm i --frozen-lockfile - name: "Install Firebase"