From 1fa60e285f4f4aa14e2e2ead0f89bf6157eeb59d Mon Sep 17 00:00:00 2001 From: Naveen Namani Date: Fri, 4 Feb 2022 16:36:35 +0530 Subject: [PATCH 1/2] version error --- .github/workflows/build-reactjs-org.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-reactjs-org.yml b/.github/workflows/build-reactjs-org.yml index 61bb329..5b6aa2b 100644 --- a/.github/workflows/build-reactjs-org.yml +++ b/.github/workflows/build-reactjs-org.yml @@ -4,8 +4,8 @@ name: Node.js Package on: - release: - types: [created] + push: + branches: [main] jobs: build: @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 15 - run: sh reactjs-org.sh - name: Upload a Build Artifact uses: actions/upload-artifact@v2.3.1 From ad40643d41ed386a87f6cfc69993eca85ea6073f Mon Sep 17 00:00:00 2001 From: Naveen Namani Date: Fri, 4 Feb 2022 17:46:33 +0530 Subject: [PATCH 2/2] artifacts uploading all directory files --- .github/workflows/build-reactjs-org.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-reactjs-org.yml b/.github/workflows/build-reactjs-org.yml index 5b6aa2b..21f11ae 100644 --- a/.github/workflows/build-reactjs-org.yml +++ b/.github/workflows/build-reactjs-org.yml @@ -20,7 +20,7 @@ jobs: uses: actions/upload-artifact@v2.3.1 with: name: reactjs-org - path: ./ + path: ./reactjs.org/public warn: Output a warning but do not fail the action error: Fail the action with an error message ignore: Do not output any warnings or errors, the action does not fail