Skip to content

Commit 234ac20

Browse files
authored
Restore AVA on CI; Fix other CI issues (#143)
1 parent 1325ca8 commit 234ac20

File tree

6 files changed

+174
-246
lines changed

6 files changed

+174
-246
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ jobs:
4545
- name: build
4646
run: npm run build
4747
- name: Ensure that test URLs aren't included in the built file
48-
run: "! grep http distribution/index.js"
48+
run: '! grep http distribution/index.js'

.github/workflows/demo.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ permissions:
1111
pages: write
1212
id-token: write
1313

14-
# Allow one concurrent deployment
15-
concurrency:
16-
group: 'pages'
17-
cancel-in-progress: true
18-
1914
jobs:
2015
build:
2116
runs-on: ubuntu-latest
@@ -30,6 +25,11 @@ jobs:
3025
path: demo/dist/
3126

3227
deploy:
28+
# Allow one concurrent deployment
29+
concurrency:
30+
group: 'pages'
31+
cancel-in-progress: true
32+
3333
environment:
3434
name: github-pages
3535
url: ${{ steps.deployment.outputs.page_url }}

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ addTests('isRepoRoot', [
445445
'https://github.com/sindresorhus/refined-github/tree/master?files=1',
446446
]);
447447

448-
export const isRepoSearch = (url: URL | HTMLAnchorElement | Location = location): boolean => getRepo(url)?.path === 'search';;
448+
export const isRepoSearch = (url: URL | HTMLAnchorElement | Location = location): boolean => getRepo(url)?.path === 'search';
449449
addTests('isRepoSearch', [
450450
'https://github.com/sindresorhus/refined-github/search?q=diff',
451451
'https://github.com/sindresorhus/refined-github/search?q=diff&unscoped_q=diff&type=Issues',

0 commit comments

Comments
 (0)