Skip to content

Commit d54774c

Browse files
committed
CI fixes
1 parent 5f0f2c9 commit d54774c

File tree

4 files changed

+35
-24
lines changed

4 files changed

+35
-24
lines changed

.github/workflows/node-4+.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ jobs:
7777
name: 'nvm install ${{ matrix.node-version }} && npm install'
7878
with:
7979
node-version: ${{ matrix.node-version }}
80+
- run: sudo curl -Lo /usr/bin/rooster https://github.com/SheetJS/rooster/releases/download/v0.2.0/rooster-v0.2.0-linux-amd64
81+
- run: sudo chmod a+x /usr/bin/rooster
8082
- run: make init
8183
- run: 'cd test_files; make all; cd -'
8284
- run: npm run tests-only

.github/workflows/node-iojs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232
skip-ls-check: true
33+
- run: sudo curl -Lo /usr/bin/rooster https://github.com/SheetJS/rooster/releases/download/v0.2.0/rooster-v0.2.0-linux-amd64
34+
- run: sudo chmod a+x /usr/bin/rooster
3335
- run: make init
3436
- run: 'cd test_files; make all; cd -'
3537
- run: npm run tests-only

.github/workflows/node-pretest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
name: 'nvm install lts/* && npm install'
1313
with:
1414
node-version: 'lts/*'
15+
- run: sudo curl -Lo /usr/bin/rooster https://github.com/SheetJS/rooster/releases/download/v0.2.0/rooster-v0.2.0-linux-amd64
16+
- run: sudo chmod a+x /usr/bin/rooster
1517
- run: make init
1618
- run: 'cd test_files; make all; cd -'
1719
- run: npm run pretest

.github/workflows/node-zero.yml

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
outputs:
99
stable: ${{ steps.set-matrix.outputs.requireds }}
10-
unstable: ${{ steps.set-matrix.outputs.optionals }}
10+
# unstable: ${{ steps.set-matrix.outputs.optionals }}
1111
steps:
1212
- uses: ljharb/actions/node/matrix@main
1313
id: set-matrix
@@ -46,37 +46,42 @@ jobs:
4646
node-version: ${{ matrix.node-version }}
4747
cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }}
4848
skip-ls-check: true
49+
- run: sudo curl -Lo /usr/bin/rooster https://github.com/SheetJS/rooster/releases/download/v0.2.0/rooster-v0.2.0-linux-amd64
50+
- run: sudo chmod a+x /usr/bin/rooster
4951
- run: make init
5052
- run: 'cd test_files; make all; cd -'
5153
- run: npm run tests-only
5254

53-
unstable:
54-
needs: [matrix, stable]
55-
name: 'unstable minors'
56-
continue-on-error: true
57-
if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }}
58-
runs-on: ubuntu-latest
59-
60-
strategy:
61-
fail-fast: false
62-
matrix:
63-
node-version: ${{ fromJson(needs.matrix.outputs.unstable) }}
55+
# unstable:
56+
# needs: [matrix, stable]
57+
# name: 'unstable minors'
58+
# continue-on-error: true
59+
# if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }}
60+
# runs-on: ubuntu-latest
6461

65-
steps:
66-
- uses: actions/checkout@v2
67-
- uses: ljharb/actions/node/install@main
68-
name: 'nvm install ${{ matrix.node-version }} && npm install'
69-
with:
70-
node-version: ${{ matrix.node-version }}
71-
cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }}
72-
skip-ls-check: true
73-
- run: make init
74-
- run: 'cd test_files; make all; cd -'
75-
- run: npm run tests-only
62+
# strategy:
63+
# fail-fast: false
64+
# matrix:
65+
# node-version: ${{ fromJson(needs.matrix.outputs.unstable) }}
66+
#
67+
# steps:
68+
# - uses: actions/checkout@v2
69+
# - uses: ljharb/actions/node/install@main
70+
# name: 'nvm install ${{ matrix.node-version }} && npm install'
71+
# with:
72+
# node-version: ${{ matrix.node-version }}
73+
# cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }}
74+
# skip-ls-check: true
75+
# - run: sudo curl -Lo /usr/bin/rooster https://github.com/SheetJS/rooster/releases/download/v0.2.0/rooster-v0.2.0-linux-amd64
76+
# - run: sudo chmod a+x /usr/bin/rooster
77+
# - run: make init
78+
# - run: 'cd test_files; make all; cd -'
79+
# - run: npm run tests-only
7680

7781
node:
7882
name: 'node 0.x'
79-
needs: [stable, unstable]
83+
# needs: [stable, unstable]
84+
needs: [stable]
8085
runs-on: ubuntu-latest
8186
steps:
8287
- run: 'echo tests completed'

0 commit comments

Comments
 (0)