diff --git a/.github/workflows/build-reactjs-org.yml b/.github/workflows/build-reactjs-org.yml index 61bb329..21f11ae 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,13 +14,13 @@ 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 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