Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test PR for CI debug purposes #968

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,17 @@ jobs:
sudo apt-get update
sudo apt install -y --no-install-recommends gcc g++ make build-essential
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- run: yarn install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- name: Install jest manually
run: yarn global add jest
- name: List installed packages
run: yarn list
- run: yarn test:ci
env:
POSTGRES_TEST_HOST: localhost
Expand Down
1 change: 0 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
"packages/*"
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.21.4"
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
},
"devDependencies": {
"@octokit/core": "3.2.0",
"lerna": "6.1.0"
"lerna": "6.1.0",
"jest": "^29.7.0"
},
"resolutions": {
"ethers": "5.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/indexer-common/src/graph-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class GraphNode {
if (subgraphStatus === SubgraphStatus.ACTIVE) {
return (
status.paused === false ||
(status.paused === undefined && status.node === 'removed')
(status.paused === undefined && status.node !== 'removed')
)
} else if (subgraphStatus === SubgraphStatus.PAUSED) {
return status.node === 'removed' || status.paused === true
Expand Down
Loading
Loading