chore(deps)(deps): bump actions/setup-node from 6.4.0 to 7.0.0 #3376
This file contains hidden or 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: Tilt CI | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| REGISTRY: ghcr.io | |
| jobs: | |
| # Pre-build Solana and EVM contract images (fast if cached) | |
| tilt-images: | |
| uses: ./.github/workflows/tilt-images.yml | |
| permissions: | |
| contents: read | |
| packages: write | |
| tilt: | |
| needs: tilt-images | |
| runs-on: tilt-kube-public | |
| permissions: | |
| contents: read | |
| packages: read | |
| # Cancel previous builds on the same branch/ref. Full runs are expensive | |
| # and capacity is limited, so we want to avoid running multiple builds | |
| # in parallel even if it means skipping CI runs on permanent branches | |
| # (unfortunately, we can't differentiate between temporary and permanent | |
| # refs without duplicating the entire logic). | |
| concurrency: | |
| group: ${{ github.workflow }}-tilt-${{ github.ref }} | |
| cancel-in-progress: true | |
| steps: | |
| - name: Clear repository | |
| run: | | |
| rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: recursive | |
| persist-credentials: false | |
| # Login to ghcr.io so Tilt can pull cache_from images | |
| - name: Log in to Container Registry | |
| uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 | |
| with: | |
| registry: ${{ env.REGISTRY }} | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Expand for link to Tilt dashboard (only available during build) | |
| run: > | |
| echo "Tilt progress dashboard: https://$DASHBOARD_URL" | |
| - run: | | |
| kubectl config set-context ci --namespace=$DEPLOY_NS | |
| kubectl config use-context ci | |
| - run: tilt ci -- --evm2 --solana_watcher --wormchain --guardiand_loglevel=warn --namespace=$DEPLOY_NS | |
| timeout-minutes: 30 | |
| # Clean up k8s resources | |
| - run: kubectl delete --namespace=$DEPLOY_NS service,statefulset,configmap,pod,job --all | |
| if: always() |