Skip to content

Commit

Permalink
Merge pull request #49 from ArkStudiosLLC/develop
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
tatsuz0u authored Jun 3, 2024
2 parents e58e198 + 9fde5b8 commit 6804fdb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
dependenciesInstallationOption:
description: 'Dependencies installation option'

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand Down Expand Up @@ -72,7 +75,7 @@ jobs:
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} ${{ inputs.dependenciesInstallationOption }}
- name: Build with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next build
- name: Upload artifact
Expand Down

0 comments on commit 6804fdb

Please sign in to comment.