Skip to content

Commit 40a59b9

Browse files
authored
fix reader import common itself (#817)
* fix reader import common itself * trigger node an cli prerelease * Try to replace subql access token * pass token in docker-compose * Fix typo * replace token * Fix Typo * test all
1 parent 0b42be7 commit 40a59b9

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: pr
99
runs-on: ubuntu-latest
1010
env:
11-
SUBQL_ACCESS_TOEKEN: ${{ secrets.SUBQL_ACCESS_TOEKEN }}
11+
SUBQL_ACCESS_TOKEN: ${{ secrets.SUBQL_ACCESS_TOKEN }}
1212
steps:
1313
- uses: actions/checkout@v2
1414
- name: Setup Node.js environment

packages/cli/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ All logs must start with the format: [x.y.z] - yyyy-mm-dd
88

99
## [Unreleased]
1010

11+
1112
## [0.20.1] - 2022-02-15
1213
### Fixed
1314
- Patch release with @subql/validator version bump, in order to fix validation issue.

packages/cli/src/controller/publish-controller.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const projectSpecV0_2_0: ProjectSpecV0_2_0 = {
3939

4040
const ipfsEndpoint = 'http://localhost:5001/api/v0';
4141
// Replace/Update your access token when test locally
42-
const testAuth = process.env.SUBQL_ACCESS_TOEKN;
42+
const testAuth = process.env.SUBQL_ACCESS_TOKEN;
4343

4444
jest.setTimeout(120000);
4545

packages/common/src/project/readers/reader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
import fs from 'fs';
5-
import {getProjectRootAndManifest} from '@subql/common/project';
65
import {IPackageJson} from 'package-json-type';
76
import {IPFS_REGEX} from '../../constants';
7+
import {getProjectRootAndManifest} from '../../project';
88
import {GithubReader} from './github-reader';
99
import {IPFSReader} from './ipfs-reader';
1010
import {LocalReader} from './local-reader';

packages/node/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
910
## [0.28.2] - 2022-02-16
1011
### Changed
1112
- Update Polkadot/api to 7.8.1 ,in order to resolve previous release issue (#806)

test/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222
DB_DATABASE: postgres
2323
DB_HOST: postgres
2424
DB_POST: 5432
25-
SUBQL_ACCESS_TOEKN: ${SUBQL_ACCESS_TOEKN}
25+
SUBQL_ACCESS_TOKEN: ${SUBQL_ACCESS_TOKEN}
2626
command:
2727
- yarn
2828
- test:all

0 commit comments

Comments
 (0)