|
1 | 1 | on: |
2 | 2 | workflow_call: |
3 | 3 |
|
4 | | -concurrency: |
5 | | - group: ${{ github.workflow }}-${{ github.ref }} |
6 | | - cancel-in-progress: true |
7 | | - |
8 | 4 | env: |
9 | 5 | node-version: '22.x' |
10 | 6 |
|
11 | 7 | jobs: |
12 | | - test-workflow: |
13 | | - runs-on: ubuntu-22.04 |
| 8 | + operation-location-migration: |
| 9 | + strategy: |
| 10 | + matrix: |
| 11 | + os: [ubuntu-22.04, windows-latest] |
| 12 | + node-version: [18.x, 20.x, 22.x] |
| 13 | + runs-on: ${{ matrix.os }} |
14 | 14 | steps: |
15 | | - - name: Test |
16 | | - run: echo "READY" |
17 | | - # operation-location-migration: |
18 | | - # strategy: |
19 | | - # matrix: |
20 | | - # os: [ubuntu-22.04, windows-latest] |
21 | | - # node-version: [18.x, 20.x, 22.x] |
22 | | - # runs-on: ${{ matrix.os }} |
23 | | - # steps: |
24 | | - # - name: Check out repository |
25 | | - # uses: actions/checkout@v4 |
26 | | - |
27 | | - # - name: Set up Node.js ${{ matrix.node-version }} |
28 | | - # uses: actions/setup-node@v4 |
29 | | - # with: |
30 | | - # node-version: ${{ matrix.node-version }} |
31 | | - # cache: yarn |
32 | | - # cache-dependency-path: '**/yarn.lock' |
33 | | - |
34 | | - # - name: Install deps |
35 | | - # run: yarn install --prefer-offline |
| 15 | + - name: Check out repository |
| 16 | + uses: actions/checkout@v4 |
36 | 17 |
|
37 | | - # - name: Lint |
38 | | - # run: yarn nx lint operation-location-migration |
| 18 | + - name: Set up Node.js ${{ matrix.node-version }} |
| 19 | + uses: actions/setup-node@v4 |
| 20 | + with: |
| 21 | + node-version: ${{ matrix.node-version }} |
| 22 | + cache: yarn |
| 23 | + cache-dependency-path: '**/yarn.lock' |
39 | 24 |
|
40 | | - # - name: Test |
41 | | - # run: yarn nx test operation-location-migration |
| 25 | + - name: Install deps |
| 26 | + run: yarn install --prefer-offline |
42 | 27 |
|
43 | | - # - name: Build |
44 | | - # run: yarn nx build operation-location-migration |
| 28 | + - name: Lint |
| 29 | + run: yarn nx lint operation-location-migration |
45 | 30 |
|
46 | | - # operation-location-migration-e2e: |
47 | | - # strategy: |
48 | | - # matrix: |
49 | | - # os: [ubuntu-22.04, windows-latest] |
50 | | - # node-version: [18.x, 20.x, 22.x] |
51 | | - # runs-on: ${{ matrix.os }} |
52 | | - # defaults: |
53 | | - # run: |
54 | | - # shell: bash |
55 | | - # steps: |
56 | | - # - name: Check out repository |
57 | | - # uses: actions/checkout@v4 |
58 | | - # with: |
59 | | - # fetch-depth: 0 |
60 | | - |
61 | | - # - name: Set up Node.js ${{ matrix.node-version }} |
62 | | - # uses: actions/setup-node@v4 |
63 | | - # with: |
64 | | - # node-version: ${{ matrix.node-version }} |
65 | | - # cache: yarn |
66 | | - # cache-dependency-path: '**/yarn.lock' |
67 | | - |
68 | | - # - name: Install deps |
69 | | - # run: yarn install --prefer-offline |
| 31 | + - name: Test |
| 32 | + run: yarn nx test operation-location-migration |
70 | 33 |
|
71 | | - # - name: e2e |
72 | | - # run: yarn nx e2e operation-location-migration-e2e |
| 34 | + - name: Build |
| 35 | + run: yarn nx build operation-location-migration |
0 commit comments