|
36 | 36 | - name: Confirm code builds with typescript as expected |
37 | 37 | run: yarn -s check-tooling-setup |
38 | 38 |
|
39 | | - devtools: |
40 | | - runs-on: ubuntu-latest |
41 | | - steps: |
42 | | - - name: Initialize environment |
43 | | - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@78bd12c8526c396fc85e5ac3d72c039dc7e0a51a |
44 | | - with: |
45 | | - cache-node-modules: true |
46 | | - - name: Setup Bazel |
47 | | - uses: angular/dev-infra/github-actions/bazel/setup@78bd12c8526c396fc85e5ac3d72c039dc7e0a51a |
48 | | - - name: Setup Bazel RBE |
49 | | - uses: angular/dev-infra/github-actions/bazel/configure-remote@78bd12c8526c396fc85e5ac3d72c039dc7e0a51a |
50 | | - - name: Install node modules |
51 | | - run: yarn install --frozen-lockfile |
52 | | - - name: Run unit tests |
53 | | - run: yarn devtools:test |
54 | | - - name: Test build |
55 | | - run: yarn devtools:build:chrome |
56 | | - |
57 | 39 | test: |
58 | 40 | runs-on: ubuntu-latest-4core |
59 | 41 | steps: |
|
87 | 69 | - name: Build adev in fast mode to ensure it continues to work |
88 | 70 | run: yarn bazel build //adev:build --config=release |
89 | 71 |
|
90 | | - publish-snapshots: |
91 | | - runs-on: |
92 | | - labels: ubuntu-latest |
93 | | - steps: |
94 | | - - name: Initialize environment |
95 | | - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@78bd12c8526c396fc85e5ac3d72c039dc7e0a51a |
96 | | - with: |
97 | | - cache-node-modules: true |
98 | | - - name: Setup Bazel |
99 | | - uses: angular/dev-infra/github-actions/bazel/setup@78bd12c8526c396fc85e5ac3d72c039dc7e0a51a |
100 | | - - name: Setup Bazel RBE |
101 | | - uses: angular/dev-infra/github-actions/bazel/configure-remote@78bd12c8526c396fc85e5ac3d72c039dc7e0a51a |
102 | | - - name: Install node modules |
103 | | - run: yarn install --frozen-lockfile |
104 | | - - run: echo "https://${{secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN}}:@github.com" > ${HOME}/.git_credentials |
105 | | - - run: yarn build |
106 | | - - run: ./scripts/ci/publish-build-artifacts.sh |
107 | | - |
108 | | - zone-js: |
109 | | - runs-on: |
110 | | - labels: ubuntu-latest-4core |
111 | | - steps: |
112 | | - - name: Initialize environment |
113 | | - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@78bd12c8526c396fc85e5ac3d72c039dc7e0a51a |
114 | | - with: |
115 | | - cache-node-modules: true |
116 | | - node-module-directories: | |
117 | | - ./node_modules |
118 | | - ./packages/zone.js/node_modules |
119 | | - ./packages/zone.js/test/typings/node_modules |
120 | | - - name: Setup Bazel |
121 | | - uses: angular/dev-infra/github-actions/bazel/setup@78bd12c8526c396fc85e5ac3d72c039dc7e0a51a |
122 | | - - name: Setup Bazel RBE |
123 | | - uses: angular/dev-infra/github-actions/bazel/configure-remote@78bd12c8526c396fc85e5ac3d72c039dc7e0a51a |
124 | | - - name: Install node modules |
125 | | - run: yarn install --frozen-lockfile |
126 | | - - run: | |
127 | | - yarn bazel build \ |
128 | | - //packages/zone.js/bundles:zone.umd.js \ |
129 | | - //packages/zone.js:npm_package \ |
130 | | - //packages/zone.js/test/closure:closure_js \ |
131 | | -
|
132 | | - - run: | |
133 | | - rm -Rf packages/zone.js/build |
134 | | - rm -Rf packages/zone.js/test/extra/*.umd.js |
135 | | -
|
136 | | - mkdir -p packages/zone.js/build/ |
137 | | - mkdir -p packages/zone.js/build/test/ |
138 | | -
|
139 | | - cp dist/bin/packages/zone.js/bundles/zone.umd.js packages/zone.js/build/zone.umd.js |
140 | | - cp dist/bin/packages/zone.js/npm_package/bundles/zone-mix.umd.js ./packages/zone.js/test/extra/ |
141 | | - cp dist/bin/packages/zone.js/npm_package/bundles/zone-patch-electron.umd.js ./packages/zone.js/test/extra/ |
142 | | - cp dist/bin/packages/zone.js/test/closure/zone.closure.mjs ./packages/zone.js/build/test/zone.closure.mjs |
143 | | -
|
144 | | - # Install |
145 | | - - run: yarn --cwd packages/zone.js install --frozen-lockfile --non-interactive |
146 | | - # Run zone.js tools tests |
147 | | - - run: yarn --cwd packages/zone.js promisefinallytest |
148 | | - - run: yarn --cwd packages/zone.js jest:test |
149 | | - - run: yarn --cwd packages/zone.js jest:nodetest |
150 | | - - run: yarn --cwd packages/zone.js electrontest |
151 | | - - run: yarn --cwd packages/zone.js/test/typings install --frozen-lockfile --non-interactive |
152 | | - - run: yarn --cwd packages/zone.js/test/typings test |
153 | | - |
154 | | - saucelabs: |
155 | | - runs-on: ubuntu-latest-4core |
156 | | - env: |
157 | | - SAUCE_TUNNEL_IDENTIFIER: angular-framework-${{ github.run_number }} |
158 | | - steps: |
159 | | - - name: Initialize environment |
160 | | - uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@78bd12c8526c396fc85e5ac3d72c039dc7e0a51a |
161 | | - with: |
162 | | - cache-node-modules: true |
163 | | - - name: Install node modules |
164 | | - run: yarn install --frozen-lockfile |
165 | | - - uses: ./.github/actions/saucelabs-legacy |
166 | | - |
167 | 72 | adev-deploy: |
168 | 73 | needs: [adev] |
169 | 74 | if: needs.adev.result == 'success' |
|
0 commit comments