diff --git a/.github/composite-actions/install/action.yml b/.github/composite-actions/install/action.yml index b1f380e..0f04c6a 100644 --- a/.github/composite-actions/install/action.yml +++ b/.github/composite-actions/install/action.yml @@ -7,7 +7,7 @@ runs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version-file: '.nvmrc' cache: npm - name: Install dependencies diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 33e0aa7..56be340 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -52,11 +52,6 @@ jobs: # Deployment job deploy: - # Since `workflow_run` only has 3 activity types (`completed`, `requested` and `in_progress`), - # even if `Quality` workflow gets completed by failing, this workflow starts to run. - # To prevent this, we add a condition here. - # https://github.com/orgs/community/discussions/26238#discussioncomment-3250901 - if: ${{ github.event.workflow_run.conclusion == 'success' }} environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}