Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
node-version: '18.19.0'

- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
Expand Down
2 changes: 1 addition & 1 deletion metadata/simpleDownloadDataset.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"files": [
{
"type": "url",
"url": "https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-abstract10.xml.gz-rss.xml",
"url": "https://raw.githubusercontent.com/oceanprotocol/ocean-node/refs/heads/main/LICENSE",
"method": "GET"
}
]
Expand Down
6 changes: 3 additions & 3 deletions test/consumeFlow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ describe("Ocean CLI Publishing", function() {
expect(stdout).to.contain("File downloaded successfully");

// Path to the downloaded file
const downloadedFilePath = './enwiki-latest-abstract10.xml.gz-rss.xml';
const downloadedFilePath = './LICENSE';

// Verify the downloaded file content hash matches the original file hash
const downloadedFileHash = computeFileHash(downloadedFilePath);
const originalFilePath = './metadata/enwiki-latest-abstract10.xml.gz-rss.xml';
const originalFilePath = './metadata/LICENSE';

await downloadFile("https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-abstract10.xml.gz-rss.xml", originalFilePath);
await downloadFile("https://raw.githubusercontent.com/oceanprotocol/ocean-node/refs/heads/main/LICENSE", originalFilePath);
const originalFileHash = computeFileHash(originalFilePath);

expect(downloadedFileHash).to.equal(originalFileHash);
Expand Down
Loading