From 2c18a611b31111d9d2885cccae6e0d7463fa3b2a Mon Sep 17 00:00:00 2001 From: Lloyd Benson Date: Sat, 7 Nov 2020 15:26:09 -0600 Subject: [PATCH 1/7] setup github action for a module --- .github/workflows/test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..709debf --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: test module + +on: [push, pull_request] + +jobs: + test: + strategy: + fail-fast: false + matrix: + os: [ubuntu, windows, macos] + node: ['*', '14', '12'] + + runs-on: ${{ matrix.os }}-latest + name: os@${{ matrix.os }}/node@${{ matrix.node }}/hapi@${{ matrix.hapi }} + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: install + run: npm install + - name: test + run: npm test From 7b73dedf9c82cbdb514191feda5fe2132205d807 Mon Sep 17 00:00:00 2001 From: Lloyd Benson Date: Sat, 7 Nov 2020 15:27:42 -0600 Subject: [PATCH 2/7] get rid of hapi here --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 709debf..178c747 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: node: ['*', '14', '12'] runs-on: ${{ matrix.os }}-latest - name: os@${{ matrix.os }}/node@${{ matrix.node }}/hapi@${{ matrix.hapi }} + name: os@${{ matrix.os }}/node@${{ matrix.node }} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 From c29cca3afd448f0448796eb79774ad67ec617930 Mon Sep 17 00:00:00 2001 From: Lloyd Benson Date: Sun, 8 Nov 2020 12:56:15 -0600 Subject: [PATCH 3/7] os is unnecessary --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 178c747..9666405 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: node: ['*', '14', '12'] runs-on: ${{ matrix.os }}-latest - name: os@${{ matrix.os }}/node@${{ matrix.node }} + name: ${{ matrix.os }}/node@${{ matrix.node }} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 From 121b239faaf152873c5c64da3979bcf726579225 Mon Sep 17 00:00:00 2001 From: Lloyd Benson Date: Mon, 9 Nov 2020 14:58:24 -0600 Subject: [PATCH 4/7] spaces vs / --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9666405..a745026 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: node: ['*', '14', '12'] runs-on: ${{ matrix.os }}-latest - name: ${{ matrix.os }}/node@${{ matrix.node }} + name: ${{ matrix.os }} node@${{ matrix.node }} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 From 91e814d480e3f9ffa47ea168988b0634ddee1163 Mon Sep 17 00:00:00 2001 From: Lloyd Benson Date: Wed, 11 Nov 2020 12:08:43 -0600 Subject: [PATCH 5/7] get rid of travis in favor of github actions --- .travis.yml | 7 ------- 1 file changed, 7 deletions(-) delete mode 100755 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100755 index c8e6f82..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: ~> 1.0 - - -import: - - hapijs/ci-config-travis:node_js.yml@main - - hapijs/ci-config-travis:install.yml@main - - hapijs/ci-config-travis:os.yml@main From 822cebeff4ce2eb414993cb1a79051d38c8c7b3e Mon Sep 17 00:00:00 2001 From: Lloyd Benson Date: Wed, 11 Nov 2020 14:48:06 -0600 Subject: [PATCH 6/7] just keep it with a simple name --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a745026..e608932 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: test module +name: test on: [push, pull_request] From d4bbda9ebc56b0e7d88a390b4c339704a1fcd8b5 Mon Sep 17 00:00:00 2001 From: Lloyd Benson Date: Thu, 12 Nov 2020 08:27:33 -0600 Subject: [PATCH 7/7] change to ci --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e608932..ca840cf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: test +name: ci on: [push, pull_request]