feat(iam,gitcoin): query the cgrants API in the scorer by the github … #1793
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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
# Run a local ceramic nod to test against | |
services: | |
ceramic: | |
image: ceramicnetwork/js-ceramic:2.20.0 | |
ports: | |
- 7007:7007 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
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: Run Ceramic Integration Tests | |
run: yarn test:ceramic-integration |