Skip to content

fix(deps): update dependency @0xsquid/squid-types to ^0.1.122 #4192

fix(deps): update dependency @0xsquid/squid-types to ^0.1.122

fix(deps): update dependency @0xsquid/squid-types to ^0.1.122 #4192

Workflow file for this run

name: Workflow
on:
# Run on pushes to main..
push:
branches:
- main
# ..and any pull request.
pull_request:
# Cancel any in progress run of the workflow for a given PR
# This avoids building outdated code
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
check-for-sh:
name: Check for .sh
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: "echo '*** Do not write .sh scripts! ***'; ! find . -type f -name '*.sh' | grep ."
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
check-latest: true
- run: yarn
- run: yarn typecheck
- run: yarn format:check
- run: yarn lint
test:
name: Test
runs-on: ubuntu-latest
env:
NETWORK_ID_TO_RPC_URL: ${{ secrets.NETWORK_ID_TO_RPC_URL }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
check-latest: true
- run: yarn
- run: yarn test:ci
- name: Upload Coverage Report
uses: actions/upload-artifact@v4
with:
path: coverage/lcov-report
- name: 'Upload coverage to Codecov'
uses: codecov/codecov-action@v5
deploy-staging:
name: Deploy staging
if: github.ref == 'refs/heads/main'
needs:
- lint
- test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: google-github-actions/auth@v2
with:
project_id: celo-mobile-alfajores
credentials_json: ${{ secrets.ALFAJORES_SERVICE_ACCOUNT_KEY }}
- uses: google-github-actions/setup-gcloud@v2
with:
install_components: 'beta'
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
check-latest: true
- run: yarn
- run: yarn deploy:staging:http hooks-api
deploy-production:
name: Deploy production
if: github.ref == 'refs/heads/main'
needs:
- lint
- test
- deploy-staging
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: google-github-actions/auth@v2
with:
project_id: celo-mobile-mainnet
credentials_json: ${{ secrets.MAINNET_SERVICE_ACCOUNT_KEY }}
- uses: google-github-actions/setup-gcloud@v2
with:
install_components: 'beta'
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
check-latest: true
- run: yarn
- run: yarn deploy:production:http hooks-api