11cb0ef41Sopenharmony_ciname: node-gyp integration 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_cion: [push, pull_request] 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_cijobs: 61cb0ef41Sopenharmony_ci test: 71cb0ef41Sopenharmony_ci strategy: 81cb0ef41Sopenharmony_ci fail-fast: false 91cb0ef41Sopenharmony_ci matrix: 101cb0ef41Sopenharmony_ci os: [macos-latest, ubuntu-latest, windows-latest] 111cb0ef41Sopenharmony_ci python: ["3.7", "3.10"] 121cb0ef41Sopenharmony_ci 131cb0ef41Sopenharmony_ci runs-on: ${{ matrix.os }} 141cb0ef41Sopenharmony_ci steps: 151cb0ef41Sopenharmony_ci - name: Clone gyp-next 161cb0ef41Sopenharmony_ci uses: actions/checkout@v3 171cb0ef41Sopenharmony_ci with: 181cb0ef41Sopenharmony_ci path: gyp-next 191cb0ef41Sopenharmony_ci - name: Clone nodejs/node-gyp 201cb0ef41Sopenharmony_ci uses: actions/checkout@v3 211cb0ef41Sopenharmony_ci with: 221cb0ef41Sopenharmony_ci repository: nodejs/node-gyp 231cb0ef41Sopenharmony_ci path: node-gyp 241cb0ef41Sopenharmony_ci - uses: actions/setup-node@v3 251cb0ef41Sopenharmony_ci with: 261cb0ef41Sopenharmony_ci node-version: 14.x 271cb0ef41Sopenharmony_ci - uses: actions/setup-python@v3 281cb0ef41Sopenharmony_ci with: 291cb0ef41Sopenharmony_ci python-version: ${{ matrix.python }} 301cb0ef41Sopenharmony_ci - name: Install dependencies 311cb0ef41Sopenharmony_ci run: | 321cb0ef41Sopenharmony_ci cd node-gyp 331cb0ef41Sopenharmony_ci npm install --no-progress 341cb0ef41Sopenharmony_ci - name: Replace gyp in node-gyp 351cb0ef41Sopenharmony_ci shell: bash 361cb0ef41Sopenharmony_ci run: | 371cb0ef41Sopenharmony_ci rm -rf node-gyp/gyp 381cb0ef41Sopenharmony_ci cp -r gyp-next node-gyp/gyp 391cb0ef41Sopenharmony_ci - name: Run tests 401cb0ef41Sopenharmony_ci run: | 411cb0ef41Sopenharmony_ci cd node-gyp 421cb0ef41Sopenharmony_ci npm test 43