@@ -5,17 +5,15 @@ name: Node.js CI
55
66on :
77 push :
8- branches : [ publish-locally-ci ]
9- pull_request :
10- branches : [ publish-locally-ci ]
8+ branches : [ master ]
119
1210jobs :
1311 build :
14-
12+ if : ${{ github.event.repository.full_name == 'labjack/labjack_kipling_private' }}
1513 strategy :
1614 matrix :
1715 node-version : [8.9.4]
18- platform : [ubuntu-16.04, macos-latest, windows-latest ]
16+ platform : [self-hosted ]
1917
2018 runs-on : ${{ matrix.platform }}
2119
@@ -42,30 +40,18 @@ jobs:
4240 # - run: npm ci # doesn't work with node8
4341 - run : npm install --global node-gyp@latest
4442 - run : npm install --global --production windows-build-tools --vs2015
45- if : ${{ matrix.platform == 'windows-latest ' }}
43+ if : ${{ matrix.platform == 'self-hosted ' }}
4644 - run : npm install
4745 - run : npm config set msvs_version 2015
4846 - run : npm run setup
4947 - name : Fix lerna mess
5048 run : node ./scripts/fix_lerna_backup.js
5149 - run : npm run build
52- - run : SKIP_HARDWARE_TEST=true npm run test
53- if : ${{ matrix.platform == 'ubuntu-16.04 ' }}
50+ - run : npm run test
51+ if : ${{ matrix.platform == 'self-hosted ' }}
5452
55- - run : ls ./ljswitchboard-builder
56-
57- - uses : actions/upload-artifact@v2
58- with :
59- name : kipling.3.1.18.${{ steps.date.outputs.date }}_linux64.tar.gz
60- path : ljswitchboard-builder/kipling.3.1.18.${{ steps.date.outputs.formattedTime }}_linux64.tar.gz
61- if : ${{ matrix.platform == 'ubuntu-16.04' }}
6253 - uses : actions/upload-artifact@v2
6354 with :
6455 name : kipling.3.1.18.${{ steps.date.outputs.date }}_windows.zip
6556 path : ljswitchboard-builder/kipling.3.1.18.${{ steps.date.outputs.formattedTime }}_win64.zip
66- if : ${{ matrix.platform == 'windows-latest' }}
67- - uses : actions/upload-artifact@v2
68- with :
69- name : kipling.3.1.18.${{ steps.date.outputs.date }}_macos.zip
70- path : ljswitchboard-builder/kipling.3.1.18.${{ steps.date.outputs.formattedTime }}_mac64.zip
71- if : ${{ matrix.platform == 'macos-latest' }}
57+ if : ${{ matrix.platform == 'self-hosted' }}
0 commit comments