chore(platforms): updating Staking and Idena descriptions #3303
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: CI - build & test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build_and_test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
# Run a local ceramic nod to test against | |
services: | |
ceramic: | |
image: gitcoinpassport/js-ceramic:3.2.0 | |
ports: | |
- 7007:7007 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.8.1 | |
cache: "yarn" | |
- name: Install Packages | |
run: yarn install | |
- name: Run Tests | |
run: yarn test | |
- name: Run Linter | |
run: yarn lint | |
- name: Workarround for build error | |
run: rm -rf node_modules/@tendermint | |
- name: Run Build (ensure that build succeeds) | |
run: yarn build | |
- name: Load Secrets | |
id: op-load-secret | |
uses: 1password/load-secrets-action@v1 | |
with: | |
export-env: true | |
env: | |
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
CERAMIC_PRIVATE_KEY: op://DevOps/passport-review-secrets/ci/CERAMIC_PRIVATE_KEY | |
- name: Deploy Ceramic Models | |
working-directory: ./schemas | |
run: yarn models:deploy-composite | |
env: | |
CERAMIC_URL: http://localhost:7007 | |
PRIVATE_KEY: ${{env.CERAMIC_PRIVATE_KEY}} | |
- name: Run Ceramic Integration Tests | |
run: yarn test:ceramic-integration | |
env: | |
CERAMIC_CLIENT_URL: http://localhost:7007 | |
check-provider-bitmap: | |
name: Check Provider Bitmaps | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.8 | |
cache: "yarn" | |
- name: Install Packages | |
run: yarn install | |
- name: Load Secrets | |
id: op-load-secret | |
uses: 1password/load-secrets-action@v1 | |
with: | |
export-env: true | |
env: | |
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
ALCHEMY_API_KEY: op://DevOps/passport-review-secrets/ci/ALCHEMY_API_KEY | |
- name: Check provider bitmaps | |
uses: ./.github/actions/check-provider-bitmaps | |
with: | |
ALCHEMY_API_KEY: ${{ env.ALCHEMY_API_KEY }} |