diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 47b8a84..94cbb50 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,9 +6,20 @@ on: branches: [ main ] jobs: - build-site: - name: Build Site + nextjs-build: + name: Next.js Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: docker build . \ No newline at end of file + - name: Install Dependencies + run: npm install + - name: Build + run: npm run build + docker-build: + needs: nextjs-build + name: Docker Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build Docker Image + run: docker build . \ No newline at end of file