From a6d5adbd554a7af347765caa7baa97f6e5b90911 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 17:40:58 +0800 Subject: [PATCH 01/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 2d8a78d..5e4fb58 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -1,6 +1,3 @@ -# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs - name: youtube-stats Actions CI on: From 1f43837789314ccc785dafe32f50bf8ef14bcb1f Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 17:49:53 +0800 Subject: [PATCH 02/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 5e4fb58..2274afa 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -13,9 +13,9 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 16 uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 16 cache: 'npm' - run: npm run build --if-present From fd48d29d6010f999ac2455234d45d24caa9feb4e Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 17:58:07 +0800 Subject: [PATCH 03/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 2274afa..9b81965 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -18,4 +18,5 @@ jobs: with: node-version: 16 cache: 'npm' + - run: export PATH=$PATH:$HOME/node_modules - run: npm run build --if-present From 4e236d45e520bb671754ff7f7f66ff23c3f5a79c Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 18:01:29 +0800 Subject: [PATCH 04/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 9b81965..bf3af71 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -13,10 +13,8 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js 16 - uses: actions/setup-node@v3 - with: - node-version: 16 - cache: 'npm' - - run: export PATH=$PATH:$HOME/node_modules + - name: Install react-scripts + run: npm install react-scripts + - name: Add node_modules to PATH + run: echo "export PATH=$PATH:$HOME/node_modules" >> ~/.bashrc - run: npm run build --if-present From 398dc0c47065fceeb4e28cd6b356d499c19b9c48 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 18:07:16 +0800 Subject: [PATCH 05/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index bf3af71..109ebf3 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -13,6 +13,11 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Use Node.js 16 + uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'npm' - name: Install react-scripts run: npm install react-scripts - name: Add node_modules to PATH From 2bcce8c75e0e54831a247ab336ac16bd1f3d6c37 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 18:24:06 +0800 Subject: [PATCH 06/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 109ebf3..f25de41 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -23,3 +23,20 @@ jobs: - name: Add node_modules to PATH run: echo "export PATH=$PATH:$HOME/node_modules" >> ~/.bashrc - run: npm run build --if-present + - name: Build and push Docker images + - uses: docker/build-push-action@v4.1.1 + - name: Login to Docker Hub + - uses: docker/login-action@v2 + - + name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v4 + with: + push: true + tags: user/app:latest + From abd2737904240aa552a96547186a7a5c11c1a462 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 18:31:22 +0800 Subject: [PATCH 07/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index f25de41..2e7ddb6 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -26,15 +26,11 @@ jobs: - name: Build and push Docker images - uses: docker/build-push-action@v4.1.1 - name: Login to Docker Hub - - uses: docker/login-action@v2 - - - name: Login to Docker Hub uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push + - name: Build and push uses: docker/build-push-action@v4 with: push: true From 862950322b1da0ec80aca9e1f6478344a659bbc6 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 18:32:43 +0800 Subject: [PATCH 08/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 2e7ddb6..b5be72c 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -26,13 +26,13 @@ jobs: - name: Build and push Docker images - uses: docker/build-push-action@v4.1.1 - name: Login to Docker Hub - uses: docker/login-action@v2 - with: + uses: docker/login-action@v2 + with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v4 - with: + uses: docker/build-push-action@v4 + with: push: true tags: user/app:latest From ee42e9257f2ef194ec93688eb7596f6980fee8f4 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 18:34:47 +0800 Subject: [PATCH 09/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index b5be72c..21d4f66 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -24,7 +24,7 @@ jobs: run: echo "export PATH=$PATH:$HOME/node_modules" >> ~/.bashrc - run: npm run build --if-present - name: Build and push Docker images - - uses: docker/build-push-action@v4.1.1 + uses: docker/build-push-action@v4.1.1 - name: Login to Docker Hub uses: docker/login-action@v2 with: From da8565b1a247d0beec845e5b65a47e7c750b393f Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 18:40:34 +0800 Subject: [PATCH 10/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 21d4f66..1ec9082 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -35,4 +35,5 @@ jobs: with: push: true tags: user/app:latest + From d932ea8b6b14db04ab4552bcfc7abb401c937b43 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 18:55:43 +0800 Subject: [PATCH 11/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 1ec9082..1754298 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -32,8 +32,8 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v4 - with: + with: push: true tags: user/app:latest - + From 902bac72a6b84e0781e69151af2880dbe6607d86 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 18:58:34 +0800 Subject: [PATCH 12/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 1754298..26511f9 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -32,7 +32,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v4 - with: + with: push: true tags: user/app:latest From f1b6dc2dd465323abede2c544f3bdff89539e15e Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 19:20:29 +0800 Subject: [PATCH 13/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 26511f9..1a98334 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -33,6 +33,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v4 with: + context: . push: true tags: user/app:latest From d852a9e23096b99041ca7547d88b6ed4c71a4e2e Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 19:31:46 +0800 Subject: [PATCH 14/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 1a98334..2d71d3b 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -23,8 +23,9 @@ jobs: - name: Add node_modules to PATH run: echo "export PATH=$PATH:$HOME/node_modules" >> ~/.bashrc - run: npm run build --if-present - - name: Build and push Docker images - uses: docker/build-push-action@v4.1.1 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 - name: Login to Docker Hub uses: docker/login-action@v2 with: @@ -33,8 +34,8 @@ jobs: - name: Build and push uses: docker/build-push-action@v4 with: - context: . push: true tags: user/app:latest + From f4350aed0a958b44f04d190f716e3cb809cd5fff Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 27 Aug 2023 19:35:37 +0800 Subject: [PATCH 15/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 2d71d3b..516fa94 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -35,7 +35,7 @@ jobs: uses: docker/build-push-action@v4 with: push: true - tags: user/app:latest + tags: knowlegepot/examplereactapp:latest From f87850733a8cbcd8e549c7b29f7af177dc16c887 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Tue, 29 Aug 2023 16:10:04 +0800 Subject: [PATCH 16/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 516fa94..4dadda3 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -2,9 +2,9 @@ name: youtube-stats Actions CI on: push: - branches: [ "master" ] + branches: [ "CIbranch" ] pull_request: - branches: [ "master" ] + branches: [ "CIbranch" ] jobs: build: From 888a9af9095d1f4451e5f2731fea8bc58736993e Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Tue, 29 Aug 2023 16:11:41 +0800 Subject: [PATCH 17/35] Chaning travis file into repo--4:11pm --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3ac2d45..0097804 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,3 @@ before_install: script: - docker run kowledgepot/reactapp npm run test -- --coverage - From fdde7fde73b76f8ac1fc4ce14cc7d99379c80619 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Tue, 29 Aug 2023 16:12:12 +0800 Subject: [PATCH 18/35] Chaning travis file into repo--4:11pm --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 0097804..5ba3fa8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,3 +8,4 @@ before_install: script: - docker run kowledgepot/reactapp npm run test -- --coverage + From 8e5221780e4f99b63571f87cffe08bf389e38e3b Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 3 Sep 2023 01:35:02 +0800 Subject: [PATCH 19/35] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 5ba3fa8..0984967 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,3 +9,4 @@ script: - docker run kowledgepot/reactapp npm run test -- --coverage + From 5c6758b5dfe817c2c37e038de0527fc862ab8b54 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 3 Sep 2023 02:06:00 +0800 Subject: [PATCH 20/35] Update .travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0984967..1671281 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,10 @@ services: - docker before_install: - - docker build -t kowledgepot/reactapp -f Dockerfile.dev . + - docker build -t reactapp -f Dockerfile . script: - - docker run kowledgepot/reactapp npm run test -- --coverage + - docker run reactapp npm run test -- --coverage From fae6d28e6d4e29a383ba187cfed1c190ce5f6275 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 3 Sep 2023 02:06:33 +0800 Subject: [PATCH 21/35] Update Dockerfile --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a586757..b60e26c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:latest +FROM node:16 RUN mkdir -p /app/src @@ -6,6 +6,8 @@ WORKDIR /app/src COPY package.json . +RUN npm cache clean --force + RUN npm install COPY . . @@ -14,3 +16,4 @@ EXPOSE 3000 CMD ["npm", "start"] + From 632408f5990e3f6e71faac66527b80274b6e46cc Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 3 Sep 2023 02:18:24 +0800 Subject: [PATCH 22/35] Update Dockerfile --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b60e26c..0861a50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16 +FROM node:latest RUN mkdir -p /app/src @@ -6,8 +6,6 @@ WORKDIR /app/src COPY package.json . -RUN npm cache clean --force - RUN npm install COPY . . From 72542889ff32f1f5fc01970fcb362a1a06c220c0 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Sun, 3 Sep 2023 02:24:30 +0800 Subject: [PATCH 23/35] Update Dockerfile --- Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0861a50..1ae25cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,11 @@ -FROM node:latest - +FROM node:16 RUN mkdir -p /app/src - WORKDIR /app/src - COPY package.json . - +RUN npm cache clean --force RUN npm install - COPY . . - EXPOSE 3000 - CMD ["npm", "start"] From 7255315ceb5037eb1bb2382e429af21040b019d8 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Mon, 4 Sep 2023 15:35:47 +0800 Subject: [PATCH 24/35] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 1671281..1c1840a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,3 +10,4 @@ script: + From b8f1d393ffafda1985f8125153d50e5ae0022cb4 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Mon, 4 Sep 2023 16:00:19 +0800 Subject: [PATCH 25/35] Update TestCI.yml --- .github/workflows/TestCI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/TestCI.yml b/.github/workflows/TestCI.yml index 4dadda3..7266d9d 100644 --- a/.github/workflows/TestCI.yml +++ b/.github/workflows/TestCI.yml @@ -38,4 +38,5 @@ jobs: tags: knowlegepot/examplereactapp:latest + From 977e5241f1ef97d66760f0080f02761ed08a524a Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Mon, 4 Sep 2023 21:40:15 +0800 Subject: [PATCH 26/35] Update .travis.yml --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 1c1840a..2d86602 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: node_js +node_js: + - 16 # Use a more recent Node.js version, such as 16 services: - docker From 25f195f55edc16019dae4d415b871466841ed691 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Mon, 4 Sep 2023 21:47:10 +0800 Subject: [PATCH 27/35] Update .travis.yml --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2d86602..41883f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,8 @@ before_install: - docker build -t reactapp -f Dockerfile . script: + - yarn cache clean + - yarn --frozen-lockfile - docker run reactapp npm run test -- --coverage From db6122b244f25a86cba3c561462a8d15da101ae0 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Mon, 4 Sep 2023 22:06:04 +0800 Subject: [PATCH 28/35] Update .travis.yml --- .travis.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 41883f0..bbd1435 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,3 @@ script: - yarn --frozen-lockfile - docker run reactapp npm run test -- --coverage - - - From 55f696301ed5b5558e49afef4ac241795c39e8a8 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Mon, 4 Sep 2023 22:10:05 +0800 Subject: [PATCH 29/35] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1ae25cb..79860a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16 +FROM node:latest RUN mkdir -p /app/src WORKDIR /app/src COPY package.json . From 9943b2ffaab6799f8304489e2b3548dd803136ce Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Mon, 4 Sep 2023 22:16:29 +0800 Subject: [PATCH 30/35] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 79860a7..1ae25cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:latest +FROM node:16 RUN mkdir -p /app/src WORKDIR /app/src COPY package.json . From 9dfa57413674f6d839bf6d755e610a41fdcb1edd Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Mon, 4 Sep 2023 22:20:36 +0800 Subject: [PATCH 31/35] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bbd1435..d904612 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: node_js node_js: - - 16 # Use a more recent Node.js version, such as 16 + - 14 # Use a more recent Node.js version, such as 16 services: - docker From 8b11cc0b39f3d359030d6a3c9d03663d4244177b Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Mon, 4 Sep 2023 22:26:41 +0800 Subject: [PATCH 32/35] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index d904612..64818a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ services: - docker before_install: + - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.19 - docker build -t reactapp -f Dockerfile . script: From 8b7f5c8e9c835f6156e2498738255e23c13c8047 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Mon, 4 Sep 2023 22:31:26 +0800 Subject: [PATCH 33/35] Update .travis.yml --- .travis.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 64818a8..8562be0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,10 @@ language: node_js -node_js: - - 14 # Use a more recent Node.js version, such as 16 services: - docker before_install: - - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.19 - docker build -t reactapp -f Dockerfile . - + - nvm install 4 + script: - - yarn cache clean - - yarn --frozen-lockfile - docker run reactapp npm run test -- --coverage - From 638139a7aebd7b44385145283087417d2cce26f3 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Mon, 4 Sep 2023 22:38:18 +0800 Subject: [PATCH 34/35] Update .travis.yml --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8562be0..7e422bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,11 @@ language: node_js +node_js: + - 4 services: - docker before_install: - docker build -t reactapp -f Dockerfile . - - nvm install 4 script: - docker run reactapp npm run test -- --coverage From e6bdd9b78b15403814602e35fc7eb2f551fb2cd1 Mon Sep 17 00:00:00 2001 From: knowledgepot Date: Mon, 4 Sep 2023 22:41:57 +0800 Subject: [PATCH 35/35] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7e422bf..2dad070 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: node_js node_js: - - 4 + - 12 services: - docker