Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node upg ih #33263

Draft
wants to merge 75 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
bba10df
upgrade node engine to 20.9.0
micahchiang Sep 13, 2024
07cc0c8
update .nvmrc
micahchiang Sep 13, 2024
adc8254
remove node-sass reference
micahchiang Sep 13, 2024
8d2d340
re-add engine check
micahchiang Sep 13, 2024
eb26ddf
rebuild sass
micahchiang Sep 13, 2024
aa4c036
Merge branch 'main' into mc-node-sass-upg
micahchiang Sep 13, 2024
9c2f941
switch baseUrl for cypress
micahchiang Sep 13, 2024
a5c364f
update test-server
micahchiang Sep 13, 2024
260cfa3
revert to localhost
micahchiang Sep 16, 2024
57fdc6f
Merge branch 'main' into mc-node-sass-upg
micahchiang Sep 16, 2024
8f2949a
add wait-on
micahchiang Sep 16, 2024
b5b19ad
revert wait-on
micahchiang Sep 16, 2024
5263166
revert gha steps
micahchiang Sep 16, 2024
28b879a
check test server options
micahchiang Sep 16, 2024
040ea6f
explicitly set host
micahchiang Sep 16, 2024
9d53028
update config again
micahchiang Sep 16, 2024
991e2d7
Merge branch 'main' into mc-node-sass-upg
micahchiang Sep 16, 2024
32458af
try and configure ipv4
micahchiang Sep 17, 2024
35c2aa6
fix syntax
micahchiang Sep 17, 2024
c47b6c0
switch back to localhost
micahchiang Sep 17, 2024
4eadd7e
Merge branch 'main' into mc-node-sass-upg
micahchiang Sep 17, 2024
6fa8cdb
set host to 0.0.0.0
micahchiang Sep 17, 2024
b246303
set dns order for ipv6
micahchiang Sep 17, 2024
6ef3864
ipv6 unspecified
micahchiang Sep 17, 2024
0175a42
fix syntax
micahchiang Sep 17, 2024
2b4d219
attempt to listen on both
micahchiang Sep 17, 2024
d7d173c
revert to default state
micahchiang Sep 18, 2024
6ec79a8
Merge branch 'main' into mc-node-sass-upg
micahchiang Sep 18, 2024
c05ffec
explicitly set dns in test-server
micahchiang Sep 18, 2024
ea8a24f
remove lsof
micahchiang Sep 18, 2024
f38a294
Merge branch 'main' into mc-node-sass-upg-acrollet
acrollet Sep 18, 2024
f19c7b0
try using ipv6 loopback for cypress
acrollet Sep 18, 2024
3f35a19
try all-in with ipv6
acrollet Sep 18, 2024
0995600
Try forcing ipv4 resolution for cypress
acrollet Sep 19, 2024
c57601c
Set test server host to 127.0.0.1
acrollet Sep 19, 2024
84a9acd
Merge branch 'main' into mc-node-sass-upg-acrollet
acrollet Sep 19, 2024
bcae73c
Add checks
acrollet Sep 19, 2024
cbad040
Merge branch 'mc-node-sass-upg-acrollet' of https://github.com/depart…
acrollet Sep 19, 2024
bd84fd3
Switch host for cypress
acrollet Sep 19, 2024
7fd70e6
Try specifying loopback host for test server
acrollet Sep 19, 2024
af9ffba
Add debug info
acrollet Sep 26, 2024
79801c2
Try disabling IPV6
acrollet Sep 26, 2024
664e934
Move to correct job
acrollet Sep 26, 2024
09f1798
Inspect test server output
acrollet Sep 26, 2024
7d1518a
Use ipv4 host
acrollet Sep 26, 2024
f752407
Fix typo
acrollet Sep 26, 2024
99f8f4f
Updates
acrollet Sep 26, 2024
b54989d
Update stress tests
acrollet Sep 26, 2024
bdc6461
Try to fix array output
acrollet Sep 26, 2024
0ac6fe1
Try removing the ipv6 disable step
acrollet Sep 26, 2024
b57b0de
Remove continue-on-error for cypress tests
acrollet Sep 26, 2024
a656624
Update branch from main
Oct 18, 2024
62712a1
update nvmrc
micahchiang Oct 18, 2024
788592b
update schemaform to use instead of import
micahchiang Oct 18, 2024
3a007d9
update scss namespaces
micahchiang Oct 18, 2024
1026464
update blob-polyfill
micahchiang Oct 18, 2024
29ab23a
Merge branch 'main' into node-upg-mc
micahchiang Oct 21, 2024
6df1089
update global.navigator
micahchiang Oct 21, 2024
c09b9c7
define navigator
micahchiang Oct 21, 2024
1559f90
update enzyme setup
micahchiang Oct 21, 2024
ecd5752
update jsdom and use resourceloader
micahchiang Oct 21, 2024
5ba0112
derive window
micahchiang Oct 21, 2024
040a725
more specific
micahchiang Oct 21, 2024
43cfb14
skip location
micahchiang Oct 21, 2024
b7983fd
re-update enzyme setup
micahchiang Oct 21, 2024
7594d79
Merge branch 'main' into node-upg-mc
micahchiang Oct 22, 2024
e281aa1
Merge branch 'main' into node-upg-mc
micahchiang Oct 28, 2024
747cfeb
add mixins
micahchiang Oct 28, 2024
458829a
Merge branch 'main' into node-upg-mc
micahchiang Oct 31, 2024
fa7ce17
Merge branch 'main' into node-upg-mc
micahchiang Nov 6, 2024
00aa8fa
Merge branch 'main' into node-upg-mc
micahchiang Nov 25, 2024
f5bdf3b
update claims status package.json
micahchiang Nov 25, 2024
18fdee3
fix test in profile and update helpers
it-harrison Nov 26, 2024
c4b3381
renamed files to jsx
it-harrison Dec 2, 2024
92f9b5e
updates to platform/forms
it-harrison Dec 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 22 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,6 @@ jobs:
# requires the cypress-tests job to run was not satisfied. This update forces
# the job to always run, and skips each step if no tests are selected.
# Previously, the above conditional was included in the job's if statement.



- name: Checkout vets-website
if: needs.tests-prep.outputs.cypress-tests != '[]'
uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017
Expand Down Expand Up @@ -769,8 +766,19 @@ jobs:
TEST_PROPERTY: 'TESTS'

- name: Start server
id: start-server
if: needs.tests-prep.outputs.cypress-tests != '[]'
run: node src/platform/testing/e2e/test-server.js --buildtype=vagovprod --host=0.0.0.0 --port=3001 > $GITHUB_OUTPUT 2>&1 &

- name: Inspect hosts file
if: needs.tests-prep.outputs.cypress-tests != '[]'
run: grep -i localhost /etc/hosts
continue-on-error: true

- name: Check localhost connectivity
if: needs.tests-prep.outputs.cypress-tests != '[]'
run: node src/platform/testing/e2e/test-server.js --buildtype=vagovprod --port=3001 &
run: curl --verbose http://127.0.0.1:3001/track-claims
continue-on-error: true

- name: Run Cypress tests
if: needs.tests-prep.outputs.cypress-tests != '[]'
Expand All @@ -782,6 +790,15 @@ jobs:
APP_URLS: ${{ needs.tests-prep.outputs.app_urls }}
NUM_CONTAINERS: ${{ needs.tests-prep.outputs.num_containers }}

- name: Re-check localhost connectivity
if: needs.tests-prep.outputs.cypress-tests != '[]'
run: curl --verbose http://127.0.0.1:3001/track-claims
continue-on-error: true

- name: Show test server output
if: needs.tests-prep.outputs.cypress-tests != '[]'
run: echo ${{ steps.start-server.outputs[*] }}

- name: Archive test videos
if: ${{ needs.tests-prep.outputs.cypress-tests != '[]' && failure() }}
uses: ./.github/workflows/upload-artifact
Expand Down Expand Up @@ -859,7 +876,7 @@ jobs:
node_modules

- name: Start server
run: node src/platform/testing/e2e/test-server.js --buildtype=vagovprod --port=3001 &
run: node src/platform/testing/e2e/test-server.js --buildtype=vagovprod --host=0.0.0.0 --port=3001 &

- name: Download Tests to verify
uses: ./.github/workflows/download-artifact
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.15.0
22.9.0
Binary file added .yarn/install-state.gz
Binary file not shown.
Loading
Loading