1010
1111permissions :
1212 contents : read
13+ id-token : write
1314
1415jobs :
1516 lint :
16- runs-on : ubuntu-latest
17+ runs-on :
18+ group : databricks-protected-runner-group
19+ labels : linux-ubuntu-latest
1720 steps :
1821 - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
22+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
23+ with :
24+ node-version : 20
25+ - uses : ./.github/actions/setup-jfrog
1926 - name : Cache node modules
2027 uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
2128 env :
3441 npm run lint
3542
3643 unit-test :
37- runs-on : ubuntu-latest
44+ runs-on :
45+ group : databricks-protected-runner-group
46+ labels : linux-ubuntu-latest
3847 strategy :
3948 matrix :
4049 # only LTS versions starting from the lowest we support
5362 uses : actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4
5463 with :
5564 python-version : ' 3.10'
65+ - uses : ./.github/actions/setup-jfrog
5666 - name : Cache node modules
5767 uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
5868 with :
7585 retention-days : 1
7686
7787 e2e-test :
78- runs-on : ubuntu-latest
88+ runs-on :
89+ group : databricks-protected-runner-group
90+ labels : linux-ubuntu-latest
7991 environment : azure-prod
8092 env :
8193 E2E_HOST : ${{ secrets.DATABRICKS_HOST }}
@@ -90,6 +102,10 @@ jobs:
90102
91103 steps :
92104 - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
105+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
106+ with :
107+ node-version : 20
108+ - uses : ./.github/actions/setup-jfrog
93109 - name : Cache node modules
94110 uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
95111 with :
@@ -113,7 +129,9 @@ jobs:
113129
114130 coverage :
115131 needs : [unit-test, e2e-test]
116- runs-on : ubuntu-latest
132+ runs-on :
133+ group : databricks-protected-runner-group
134+ labels : linux-ubuntu-latest
117135 env :
118136 cache-name : cache-node-modules
119137
0 commit comments