1name: node-gyp integration 2 3on: [push, pull_request] 4 5jobs: 6 test: 7 strategy: 8 fail-fast: false 9 matrix: 10 os: [macos-latest, ubuntu-latest, windows-latest] 11 runs-on: ${{ matrix.os }} 12 steps: 13 - name: Clone gyp-next 14 uses: actions/checkout@v2 15 with: 16 path: gyp-next 17 - name: Clone nodejs/node-gyp 18 uses: actions/checkout@v2 19 with: 20 repository: nodejs/node-gyp 21 path: node-gyp 22 - uses: actions/setup-node@v1 23 with: 24 node-version: 14.x 25 - uses: actions/setup-python@v2 26 with: 27 python-version: 3.9 28 - name: Install dependencies 29 run: | 30 cd node-gyp 31 npm install --no-progress 32 - name: Replace gyp in node-gyp 33 shell: bash 34 run: | 35 rm -rf node-gyp/gyp 36 cp -r gyp-next node-gyp/gyp 37 - name: Run tests 38 run: | 39 cd node-gyp 40 npm test 41