1- name : Javascript cluster management integration tests
1+ name : Javascript cluster management integration tests
22
33on :
44 push :
5- branches : [ "main" ]
5+ branches : ["main"]
66 paths :
7- - ' javascript/cluster_management/**'
8- - ' .github/workflows/javascript-cm-integ-tests.yml'
7+ - " javascript/cluster_management/**"
8+ - " .github/workflows/javascript-cm-integ-tests.yml"
99
1010 pull_request :
11- branches : [ "main" ]
11+ branches : ["main"]
1212 paths :
13- - ' javascript/cluster_management/**'
14- - ' .github/workflows/javascript-cm-integ-tests.yml'
13+ - " javascript/cluster_management/**"
14+ - " .github/workflows/javascript-cm-integ-tests.yml"
1515
1616 # Give us a button to allow running the workflow on demand for testing.
1717 workflow_dispatch :
1818 inputs :
1919 tags :
20- description : ' Manual Workflow Run'
20+ description : " Manual Workflow Run"
2121 required : false
2222 type : string
2323
@@ -33,23 +33,22 @@ jobs:
3333 pull-requests : write
3434
3535 steps :
36- - name : Checkout code
37- uses : actions/checkout@v4
38-
39- - name : Set up Node
40- uses : actions/setup-node@v4
41- with :
42- node-version : ' 18.x'
43-
44- - name : Configure AWS Credentials
45- uses : aws-actions/configure-aws-credentials@v4
46- with :
47- role-to-assume : ${{ secrets.JAVASCRIPT_IAM_ROLE }}
48- aws-region : us-east-1
49-
50- - name : Configure and run integration for cluster management
51- working-directory : ./javascript/cluster_management
52- run : |
53- npm install
54- npm test
55-
36+ - name : Checkout code
37+ uses : actions/checkout@v4
38+
39+ - name : Set up Node
40+ uses : actions/setup-node@v4
41+ with :
42+ node-version : " 22.x"
43+
44+ - name : Configure AWS Credentials
45+ uses : aws-actions/configure-aws-credentials@v4
46+ with :
47+ role-to-assume : ${{ secrets.JAVASCRIPT_IAM_ROLE }}
48+ aws-region : us-east-1
49+
50+ - name : Configure and run integration for cluster management
51+ working-directory : ./javascript/cluster_management
52+ run : |
53+ npm install
54+ npm test
0 commit comments