Skip to content

Commit 0ac178e

Browse files
committed
feat: set error
feat: feat: feat: feat: chore: chore: chore: chore: chore: chore: feat: feat:
1 parent 193dd8e commit 0ac178e

File tree

2 files changed

+8
-72
lines changed

2 files changed

+8
-72
lines changed

.github/workflows/lighthouse.yaml

Lines changed: 5 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,17 @@
11
name: "Light House"
22

33
on:
4-
pull_request:
5-
types:
6-
- opened
7-
- edited
8-
- synchronize
9-
inputs:
10-
REACT_APP_ENV_NAME:
11-
required: true
12-
type: string
13-
DEPLOY_TO_FLEEK:
14-
required: true
15-
type: boolean
16-
UPDATE_COVERAGE:
17-
required: true
18-
type: boolean
19-
ENV_NAME:
20-
required: true
21-
type: string
22-
REACT_APP_ENABLE_CURATION_LISTS:
23-
required: true
24-
type: boolean
25-
REACT_APP_SELLER_CURATION_LIST:
26-
required: false
27-
type: string
28-
REACT_APP_OFFER_CURATION_LIST:
29-
required: false
30-
type: string
31-
REACT_APP_CREATE_PROFILE_CONFIGURATION:
32-
required: true
33-
type: string
34-
REACT_APP_IPFS_GATEWAY:
35-
required: true
36-
type: string
37-
secrets:
38-
NPM_TOKEN:
39-
required: true
40-
FLEEK_API_KEY:
41-
required: false
42-
CODECOV_TOKEN:
43-
required: true
44-
REACT_APP_INFURA_IPFS_PROJECT_ID:
45-
required: false
46-
REACT_APP_INFURA_IPFS_PROJECT_SECRET:
47-
required: false
48-
REACT_APP_DEFAULT_TOKENS_LIST_TESTING:
49-
required: false
50-
REACT_APP_DEFAULT_TOKENS_LIST_STAGING:
51-
required: false
52-
REACT_APP_DEFAULT_TOKENS_LIST_PRODUCTION:
53-
required: false
54-
REACT_APP_RNFT_LICENSE_TEMPLATE:
55-
required: true
56-
REACT_APP_BUYER_SELLER_AGREEMENT_TEMPLATE:
57-
required: true
58-
REACT_APP_DEFAULT_DISPUTE_RESOLVER_ID:
59-
required: true
60-
REACT_APP_DEFAULT_RESOLUTION_PERIOD_DAYS:
61-
required: true
62-
REACT_APP_GOOGLE_TAG_ID:
63-
required: false
64-
REACT_APP_META_TX_API_KEY:
65-
required: true
66-
REACT_APP_META_TX_API_IDS:
67-
required: true
4+
push:
5+
branches:
6+
- main
7+
release:
8+
types: [created]
689

6910
jobs:
7011
lighthouseci:
7112
runs-on: ubuntu-latest
7213
env:
73-
REACT_APP_ENV_NAME: ${{ inputs.REACT_APP_ENV_NAME }}
7414
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
75-
REACT_APP_ENABLE_CURATION_LISTS: ${{ inputs.REACT_APP_ENABLE_CURATION_LISTS }}
76-
REACT_APP_SELLER_CURATION_LIST: ${{ inputs.REACT_APP_SELLER_CURATION_LIST }}
77-
REACT_APP_OFFER_CURATION_LIST: ${{ inputs.REACT_APP_OFFER_CURATION_LIST }}
78-
REACT_APP_IPFS_GATEWAY: ${{ inputs.REACT_APP_IPFS_GATEWAY }}
7915
REACT_APP_RNFT_LICENSE_TEMPLATE: ${{ secrets.REACT_APP_RNFT_LICENSE_TEMPLATE }}
8016
REACT_APP_BUYER_SELLER_AGREEMENT_TEMPLATE: ${{ secrets.REACT_APP_BUYER_SELLER_AGREEMENT_TEMPLATE }}
8117
REACT_APP_DEFAULT_DISPUTE_RESOLVER_ID: ${{ secrets.REACT_APP_DEFAULT_DISPUTE_RESOLVER_ID }}

lighthouserc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ module.exports = {
88
},
99
assert: {
1010
assertions: {
11-
"categories:performance": ["warn", { minScore: 0.8 }],
12-
"categories:accessibility": ["warn", { minScore: 0.1 }],
13-
"categories:seo": ["warn", { minScore: 0.1 }]
11+
"categories:performance": ["error", { minScore: 0.8 }],
12+
"categories:accessibility": ["error", { minScore: 0.1 }],
13+
"categories:seo": ["error", { minScore: 0.1 }]
1414
}
1515
},
1616
upload: {

0 commit comments

Comments
 (0)