From 8edc4dbec16366d75f7d407d4dbd28f287b048d8 Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Sat, 2 Nov 2019 00:01:28 +0100 Subject: [PATCH 1/4] run the CI for pull requests --- .github/workflows/{push.yml => main.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{push.yml => main.yml} (95%) diff --git a/.github/workflows/push.yml b/.github/workflows/main.yml similarity index 95% rename from .github/workflows/push.yml rename to .github/workflows/main.yml index 97b862e2..d90ec2b4 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: From 304974d0294a8774d24a4d29ec6724c73b5e7b20 Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Sat, 2 Nov 2019 00:11:41 +0100 Subject: [PATCH 2/4] use npx to execute patch-package --- integration-tests/custom-patch-dir/custom-patch-dir.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 234de490a9024093842cc34c89f7c9bd0b102b9b Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Sat, 2 Nov 2019 00:43:49 +0100 Subject: [PATCH 3/4] trigger new CI build From e53e8e97fb6e306dcb5f2b909f26641153e907d2 Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Sat, 2 Nov 2019 01:23:41 +0100 Subject: [PATCH 4/4] remove macos and windows from test matrix --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d90ec2b4..b81206e7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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