|
7 | 7 |
|
8 | 8 | jobs: |
9 | 9 | # Run node tests |
10 | | - test-node: |
11 | | - runs-on: ubuntu-latest |
12 | | - steps: |
13 | | - # Setup |
14 | | - - uses: actions/checkout@v4 |
15 | | - - uses: pnpm/action-setup@v4 |
16 | | - - uses: actions/setup-node@v6 |
17 | | - with: |
18 | | - node-version: '24' # Need 24 for testing |
19 | | - package-manager-cache: false |
| 10 | + # test-node: |
| 11 | + # runs-on: ubuntu-latest |
| 12 | + # steps: |
| 13 | + # # Setup |
| 14 | + # - uses: actions/checkout@v4 |
| 15 | + # - uses: pnpm/action-setup@v4 |
| 16 | + # - uses: actions/setup-node@v6 |
| 17 | + # with: |
| 18 | + # node-version: '24' # Need 24 for testing |
| 19 | + # package-manager-cache: false |
20 | 20 |
|
21 | | - - name: Install dependencies |
22 | | - run: pnpm install --frozen-lockfile |
| 21 | + # - name: Install dependencies |
| 22 | + # run: pnpm install --frozen-lockfile |
23 | 23 |
|
24 | | - - name: Build |
25 | | - run: pnpm build |
| 24 | + # - name: Build |
| 25 | + # run: pnpm build |
26 | 26 |
|
27 | | - - name: Build should be up to date |
28 | | - run: | |
29 | | - git diff --exit-code || (echo "There were changes in the build output - please commit build" && exit 1) |
| 27 | + # - name: Build should be up to date |
| 28 | + # run: | |
| 29 | + # git diff --exit-code || (echo "There were changes in the build output - please commit build" && exit 1) |
30 | 30 |
|
31 | | - - name: Install cargo-binstall |
32 | | - uses: cargo-bins/cargo-binstall@v1.15.7 |
33 | | - - name: Run Tests |
34 | | - run: pnpm test |
| 31 | + # - name: Install cargo-binstall |
| 32 | + # uses: cargo-bins/cargo-binstall@v1.15.7 |
| 33 | + # - name: Run Tests |
| 34 | + # run: pnpm test |
35 | 35 |
|
36 | | - - name: Check Format |
37 | | - run: pnpm prettier -c . |
| 36 | + # - name: Check Format |
| 37 | + # run: pnpm prettier -c . |
38 | 38 |
|
39 | 39 | # Run the action on itself on multiple OSes |
40 | 40 | run-self: |
41 | 41 | strategy: |
42 | 42 | fail-fast: false |
43 | 43 | matrix: |
44 | | - os: [ubuntu-latest, windows-latest, macos-latest] |
| 44 | + os: [windows-latest] |
45 | 45 | runs-on: ${{ matrix.os }} |
46 | 46 | env: |
47 | 47 | SCCACHE_GHA_ENABLED: 'true' |
|
53 | 53 | with: |
54 | 54 | node-version: '20' |
55 | 55 | package-manager-cache: false |
| 56 | + # C drive on windows is extremely slow |
| 57 | + - name: Windows dev drive |
| 58 | + uses: samypr100/setup-dev-drive@v3 |
| 59 | + if: runner.os == 'Windows' |
| 60 | + with: |
| 61 | + drive-path: C:\\dev.vhdx |
| 62 | + drive-size: 10GB |
| 63 | + drive-format: NTFS |
| 64 | + trusted-dev-drive: true |
| 65 | + mount-if-exists: true |
| 66 | + env-mapping: |- |
| 67 | + CARGO_HOME,{{ DEV_DRIVE }}/.cargo |
| 68 | + RUSTUP_HOME,{{ DEV_DRIVE }}/.rustup |
| 69 | + CARGO_TARGET_DIR,{{ DEV_DRIVE }}/target |
| 70 | +
|
56 | 71 | - name: Run sccache-cache |
57 | 72 | uses: mozilla-actions/sccache-action@v0.0.9 |
58 | 73 | - name: Run Self as Action |
|
0 commit comments