chore: update dependency jest-preset-angular to v14.4.2 #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🤖 Cleanup resources after close PR | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
purge-cache: | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ github.token }} | |
BRANCH: refs/pull/${{ github.event.number }}/merge | |
steps: | |
- uses: actions/[email protected] | |
continue-on-error: true | |
- run: | | |
gh cache list --ref $BRANCH > cache.log && cat cache.log | |
for cacheId in $(gh cache list --ref $BRANCH --json id | jq -r .[].id); do | |
echo "> gh cache delete $cacheId" | |
gh cache delete $cacheId | |
done | |
delete-firebase-channels: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
env: | |
channel: pr${{ github.event.number }}-${{ github.head_ref }} | |
steps: | |
- uses: actions/[email protected] | |
- name: Drop e2e report site | |
uses: w9jds/[email protected] | |
continue-on-error: true | |
with: | |
args: hosting:channel:delete ${{ env.channel }}-e2e --site taiga-editor-e2e-report -f | |
env: | |
GCP_SA_KEY: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_TUI_EDITOR }} | |
PROJECT_ID: taiga-editor | |
- name: Drop preview demo site | |
uses: w9jds/[email protected] | |
continue-on-error: true | |
with: | |
args: hosting:channel:delete ${{ env.channel }}-demo --site taiga-editor -f | |
env: | |
GCP_SA_KEY: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_TUI_EDITOR }} | |
PROJECT_ID: taiga-editor |