From 6c0952999f9b28b1fb7834c7d21b45f1ca84e9c1 Mon Sep 17 00:00:00 2001 From: Maxime Kjaer Date: Tue, 23 Mar 2021 14:43:22 +0100 Subject: [PATCH 1/5] Add example building to CI --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21f0b4bd96..f37a55ede6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,3 +24,28 @@ jobs: - run: npm test env: CI: true + + build-examples: + strategy: + matrix: + node-version: [14.x] # only use latest LTS to avoid overloading CI + example: + - angular-todomvc + - create-react-app-example + - custom-parsers + - private-messaging + - typescript + - webpack-build + - webpack-build-server + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Build ${{ matrix.example }} + run: | + cd examples/${{ matrix.example }} + npm install + npm run build From e0498ca547118ae3ad880374c71c450efcab6182 Mon Sep 17 00:00:00 2001 From: Maxime Kjaer Date: Wed, 31 Mar 2021 13:47:38 +0200 Subject: [PATCH 2/5] Fix build-examples job description --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f37a55ede6..0efb7227b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,8 @@ jobs: CI: true build-examples: + runs-on: ubuntu-latest + strategy: matrix: node-version: [14.x] # only use latest LTS to avoid overloading CI From 0b9538a50852f9c5d73d0e0b9e860423ec80f899 Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Tue, 10 Oct 2023 19:43:36 +0200 Subject: [PATCH 3/5] minor update --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0efb7227b9..40f5255b4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,6 @@ jobs: strategy: matrix: - node-version: [14.x] # only use latest LTS to avoid overloading CI example: - angular-todomvc - create-react-app-example @@ -41,11 +40,14 @@ jobs: - webpack-build-server steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Use Node.js 20 + uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 20 + - name: Build ${{ matrix.example }} run: | cd examples/${{ matrix.example }} From ef24edb43f12658dd9d4110e2d1ec6b69599903a Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Tue, 10 Oct 2023 19:55:12 +0200 Subject: [PATCH 4/5] minor update --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40f5255b4a..e219a643c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,11 +27,12 @@ jobs: build-examples: runs-on: ubuntu-latest + timeout-minutes: 10 strategy: + fail-fast: false matrix: example: - - angular-todomvc - create-react-app-example - custom-parsers - private-messaging From 3e75687543a7f315caeaef3072a6b09b5d3d2c57 Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Tue, 10 Oct 2023 19:59:46 +0200 Subject: [PATCH 5/5] remove failing examples --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e219a643c9..866740c4cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,9 +33,7 @@ jobs: fail-fast: false matrix: example: - - create-react-app-example - custom-parsers - - private-messaging - typescript - webpack-build - webpack-build-server