File tree Expand file tree Collapse file tree 5 files changed +26
-12
lines changed
Expand file tree Collapse file tree 5 files changed +26
-12
lines changed Original file line number Diff line number Diff line change 5454 TAG : ${{ github.sha}}
5555 steps :
5656 - name : Checkout
57- uses : actions/checkout@v4
57+ uses : actions/checkout@v2
5858
5959 - name : Configure AWS credentials
6060 uses : aws-actions/configure-aws-credentials@v1
@@ -119,7 +119,7 @@ jobs:
119119 TAG : ${{ github.sha}}
120120 steps :
121121 - name : Checkout
122- uses : actions/checkout@v4
122+ uses : actions/checkout@v2
123123
124124 - name : Install pkl
125125 uses : pkl-community/setup-pkl@v0
Original file line number Diff line number Diff line change 3939
4040 steps :
4141 - name : Checkout repository
42- uses : actions/checkout@v4
42+ uses : actions/checkout@v2
4343
4444 # Initializes the CodeQL tools for scanning.
4545 - name : Initialize CodeQL
Original file line number Diff line number Diff line change 1818
1919 steps :
2020 - name : Checkout
21- uses : actions/checkout@v4
21+ uses : actions/checkout@v2
2222
2323 - name : Use Node.js ${{ matrix.node-version }}
2424 uses : actions/setup-node@v4
Original file line number Diff line number Diff line change 3434 node-version : [18.19.1]
3535 steps :
3636 - name : Checkout
37- uses : actions/checkout@v4
37+ uses : actions/checkout@v2
3838 - name : Test docker image build before merge
3939 run : |
4040 docker build --build-arg ENVIRONMENT=development \
4646 matrix :
4747 node-version : [18.19.1]
4848 steps :
49- - uses : actions/checkout@v4
49+ - uses : actions/checkout@v2
5050 - name : Use Node.js ${{ matrix.node-version }}
5151 uses : actions/setup-node@v4
5252 with :
6666 node-version : [18.19.1]
6767 steps :
6868 - name : Checkout
69- uses : actions/checkout@v4
69+ uses : actions/checkout@v2
7070 - uses : actions/download-artifact@v4
7171 with :
7272 name : aletheia-dist
9393 runs-on : ubuntu-22.04
9494 steps :
9595 - name : Checkout
96- uses : actions/checkout@v4
96+ uses : actions/checkout@v2
9797 - uses : actions/download-artifact@v4
9898 with :
9999 name : aletheia-dist
@@ -110,5 +110,22 @@ jobs:
110110 wait-on : " http://localhost:3000"
111111 env :
112112 CI : true
113+ cypress-run-component :
114+ needs : build
115+ runs-on : ubuntu-22.04
116+ steps :
117+ - name : Checkout
118+ uses : actions/checkout@v2
119+ - uses : actions/download-artifact@v4
120+ with :
121+ name : aletheia-dist
122+ path : dist
123+ - run : |
124+ echo '{"CI_ORY_USER_PASSWORD": "${{ env.CI_ORY_USER_PASSWORD }}"}' > ./cypress.env.json
125+ yarn install
126+ - run : cp config/localConfig.example.ts config/localConfig.ts
127+ - run : yarn build
113128 - name : Run Cypress Component Tests
114- - run : yarn cypress run --component
129+ run : yarn cypress run --component
130+ env :
131+ CI : true
Original file line number Diff line number Diff line change @@ -17,9 +17,6 @@ function BackButton({
1717 const router = useRouter ( ) ;
1818 const pathname = router ?. pathname || "" ;
1919
20- console . log ( "pthname:" , pathname ) ;
21- console . log ( "isVisible:" , isVisible ) ;
22-
2320 if ( pathname !== "/" && pathname !== "/home-page" && isVisible ) {
2421 return (
2522 < a
You can’t perform that action at this time.
0 commit comments