Skip to content
This repository was archived by the owner on Oct 4, 2025. It is now read-only.

Commit 8eb181b

Browse files
committed
ci: add ci lint pass
fix typo
1 parent 5f39285 commit 8eb181b

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
name: Lint
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: Install Node.js, NPM and Yarn
10+
uses: actions/setup-node@v3
11+
with:
12+
node-version: 18
13+
14+
- name: install
15+
run: yarn install
16+
17+
- name: build
18+
run: yarn build
19+
20+
- name: lint
21+
run: yarn lint

src/ipfsutils.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ export async function ipfsAdd(coll, downloaderOpts = {}, replayOpts = {}, progre
9999
}
100100

101101
export async function ipfsRemove(coll) {
102+
const autoipfs = await initAutoIPFS(autoipfsOpts);
103+
102104
if (coll.config.metadata.ipfsPins) {
103105

104106
for (const {url} of coll.config.metadata.ipfsPins) {
@@ -395,7 +397,7 @@ function getReplayHtml(waczPath, replayOpts = {}) {
395397
</style>
396398
</head>
397399
<body>${showEmbed ? `
398-
<replay-web-page ${deepLink ? `deepLink="true" ` : ""}url="${pageUrl}" embed="replay-with-info" src="${waczPath}"></replay-web-page>` : `
400+
<replay-web-page ${deepLink ? "deepLink=\"true\" " : ""}url="${pageUrl}" embed="replay-with-info" src="${waczPath}"></replay-web-page>` : `
399401
<replay-app-main source="${waczPath}"></replay-app-main>`
400402
}
401403
</body>

0 commit comments

Comments
 (0)