Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…nto dependabot/npm_and_yarn/products/devex-apollo/http-cache-semantics-4.1.1
  • Loading branch information
saeed-zil committed Feb 26, 2024
2 parents c3fdac8 + fd87d36 commit c217900
Show file tree
Hide file tree
Showing 1,534 changed files with 339,594 additions and 33,401 deletions.
17 changes: 16 additions & 1 deletion .bazelignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,19 @@ pixy
node_modules
**/node_modules
products/developer-portal/node_modules
products/developer-portal-ng/node_modules
products/developer-portal-ng/node_modules
products/bridge/bridge-web/node_modules
products/bridge/smart-contracts/node_modules

zilliqa/js/account/node_modules
zilliqa/js/blockchain/node_modules
zilliqa/js/contract/node_modules
zilliqa/js/core/node_modules
zilliqa/js/crypto/node_modules
zilliqa/js/proto/node_modules
zilliqa/js/subscriptions/node_modules
zilliqa/js/util/node_modules
zilliqa/js/zilliqa/node_modules
examples/zilliqa-js/latest-block/node_modules
examples/zilliqa-js/react-zilliqa-js/node_modules
contracts/experimental/ERC20ProxyForZRC2/node_modules
34 changes: 34 additions & 0 deletions .github/workflows/ci-bridge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "CI for Product Bridge"

on:
push:
paths:
- products/bridge/**
- ".github/workflows/**"

jobs:
testing:
runs-on: ubuntu-latest
name: "Bridge Tests"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install nodes packages
run: npm ci
working-directory: products/bridge/bridge-web

- name: Check bridge-web build
run: npm run build
working-directory: products/bridge/bridge-web

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Run Foundry tests
run: forge test
working-directory: products/bridge/smart-contracts
6 changes: 5 additions & 1 deletion .github/workflows/ci-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: 6.0.2

- name: "Installing dependencies"
run: |
yarn install
pnpm i
- name: Trunk cache
id: cache-trunk
Expand Down
180 changes: 0 additions & 180 deletions .github/workflows/ci-on-merge-main-or-release.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/ci-on-pr-bazel-test-mac.yml

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/ci-on-pr-bazel-test-ubuntu-20.04.disabled

This file was deleted.

26 changes: 19 additions & 7 deletions .github/workflows/ci-on-pr-bazel-test-ubuntu-22.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,36 @@ jobs:
build-debug:
runs-on: ubuntu-22.04
name: "Bazel Debug Build"
permissions:
id-token: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}

- name: Bazel cache
id: cache-bazel-debug
uses: actions/[email protected]
- id: "auth"
name: "Authenticate to Google Cloud"
uses: "google-github-actions/auth@v1"
with:
path: ~/.cache/bazel/
key: ${{ runner.os }}-bazel-debug
token_format: "access_token"
workload_identity_provider: "${{ secrets.GCP_PRD_GITHUB_WIF }}"
service_account: "${{ secrets.GCP_PRD_GITHUB_SA_GCS_CACHE }}"
create_credentials_file: true

- name: Configure bazel GCS cache
run: |
export BAZEL_REMOTE_CACHE_CREDENTIALS_JSON='${{ steps.auth.outputs.credentials_file_path }}'
export BAZEL_REMOTE_CACHE_ENDPOINT='${{ vars.BAZEL_REMOTE_CACHE_ENDPOINT }}'
python config/gcp_cs_cache.py
shell: bash

- name: "Building debug"
run: |
bazelisk build --keep_going --disk_cache=~/.cache/bazel/ //...
bazelisk build --keep_going //...
- name: "Running tests"
run: |
bazelisk test --test_output=all --keep_going --disk_cache=~/.cache/bazel/ //...
bazelisk test --test_output=all --keep_going //...
Loading

0 comments on commit c217900

Please sign in to comment.