diff --git a/.github/workflows/push.yml b/.github/workflows/main.yml similarity index 87% rename from .github/workflows/push.yml rename to .github/workflows/main.yml index 97b862e2..b81206e7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -on: [push] +on: [push, pull_request] name: Test jobs: test: @@ -6,7 +6,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, ubuntu-latest, macos-latest] + os: [ubuntu-latest] node: [10, 12, 13] steps: - uses: actions/checkout@v1 diff --git a/integration-tests/custom-patch-dir/custom-patch-dir.sh b/integration-tests/custom-patch-dir/custom-patch-dir.sh index 3df5c7d9..ec2dbd07 100755 --- a/integration-tests/custom-patch-dir/custom-patch-dir.sh +++ b/integration-tests/custom-patch-dir/custom-patch-dir.sh @@ -10,7 +10,7 @@ npx replace pad patch-package node_modules/left-pad/index.js mkdir my echo "make patch file" -patch-package left-pad --patch-dir my/patches +npx patch-package left-pad --patch-dir my/patches ls my/patches/left-pad* @@ -19,6 +19,6 @@ rimraf node_modules yarn echo "run patch-package" -patch-package --patch-dir my/patches +npx patch-package --patch-dir my/patches grep patch-package node_modules/left-pad/index.js \ No newline at end of file