Skip to content

Commit fd5e27b

Browse files
authored
Fixes CI errors (#8704)
* Fixes CI missing .env file * Patch missing action text causing error Disable TS strict * codacy
1 parent a1edb64 commit fd5e27b

File tree

7 files changed

+13
-15
lines changed

7 files changed

+13
-15
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,4 @@ updates:
101101
- dependency-name: "@babel/core"
102102
versions:
103103
- 7.13.0
104-
- 7.13.1
105-
- package-ecosystem: "github-actions"
106-
directory: "/"
107-
schedule:
108-
interval: daily
109-
open-pull-requests-limit: 10
104+
- 7.13.1

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ jobs:
5454
needs: install
5555
runs-on: ubuntu-latest
5656
steps:
57-
- uses: actions/checkout@v2
58-
with:
59-
fetch-depth: 0
57+
- uses: actions/checkout@v3
58+
- name: Copy .env
59+
run: cp '.env.example' '.env'
6060
- name: Setup Node.js
6161
uses: actions/setup-node@v1
6262
with:
@@ -69,8 +69,6 @@ jobs:
6969
# no restore-keys here, so we only accept this exact version
7070
- run: yarn l10n:generate
7171
- run: COVERAGE=true yarn test
72-
env:
73-
API_HOST: https://open-event.dokku.fossasia.org
7472
- name: Code Coverage
7573
uses: codecov/codecov-action@v1
7674

app/components/public/stream/jitsi-stream.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,15 @@ interface Args {
1010
videoStream: VideoStream
1111
}
1212

13+
interface Query {
14+
[key: string]: string | string[] | undefined;
15+
}
16+
1317
export default class PublicStreamJitsiStream extends Component<Args> {
1418
@service
1519
authManager!: AuthManagerService;
1620

17-
getRoomName(parsedUrl: UrlParser): string {
21+
getRoomName(parsedUrl: UrlParser<Query>): string {
1822
return parsedUrl.pathname.slice(1); // drop leading slash
1923
}
2024

app/templates/components/nav-bar.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<div class="right menu nav-bar">
1515
{{#if (and this.isNotEventPageRoute this.isNotExplorePageRoute this.isNotWizardPageRoute)}}
1616
<div class="search-bar d-flex items-center space-between m-2 p-2">
17-
<Input @class="prompt" @type="text" @key-up={{"handleKeyPress"}} @value={{this.event_name}} placeholder={{t "Search"}} />
17+
<Input @class="prompt" @type="text" @key-up={{action "handleKeyPress"}} @value={{this.event_name}} placeholder={{t "Search"}} />
1818
<i class="search icon"></i>
1919
</div>
2020
{{/if}}
@@ -77,7 +77,7 @@
7777
<div class="ui header small text">{{this.settings.appName}}</div>
7878
</LinkTo>
7979
<div id="mobile-bar" class="search-bar search-bar-mobile d-flex items-center space-between m-1 p-2">
80-
<Input @class="prompt" id="mobileSearchBar" @type="text" @key-up={{"handleKeyPress"}} @value={{this.event_name}} placeholder={{t "Search"}} />
80+
<Input @class="prompt" id="mobileSearchBar" @type="text" @key-up={{action "handleKeyPress"}} @value={{this.event_name}} placeholder={{t "Search"}} />
8181
<i role="button" class="search icon" style="cursor: auto;" {{on "click" this.searchOnClick}}></i>
8282
</div>
8383
<div class="right menu nav-bar">

app/templates/components/side-bar.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="ui left inverted vertical menu sidebar {{if this.sidebarVisible 'visible'}}">
22
<div class="search-bar d-flex items-center space-between m-2 p-2">
3-
<Input @class="prompt" @type="text" @key-up={{"handleKeyPress"}} @value={{this.event_name}} placeholder={{t "Search"}} />
3+
<Input @class="prompt" @type="text" @key-up={{action "handleKeyPress"}} @value={{this.event_name}} placeholder={{t "Search"}} />
44
<i class="search icon"></i>
55
</div>
66
{{#if this.session.isAuthenticated}}

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"baseUrl": ".",
2121
"module": "es6",
2222
"experimentalDecorators": true,
23+
"skipLibCheck": true,
2324
"paths": {
2425
"open-event-frontend/tests/*": [
2526
"tests/*"

0 commit comments

Comments
 (0)