Skip to content

Commit

Permalink
chore: make sure check is working correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean McCaffery committed Sep 13, 2024
1 parent d6909bd commit 433ed44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/nextjs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
- name: Install dependencies
run: yarn install --production
- name: Check logic
run: |
echo ${{ github.ref == 'refs/heads/main' && "bad" || "good" }}
echo ${{ github.ref != 'refs/heads/main' && "good" || "bad" }}
- name: Build with Next.js
run: yarn build
env:
Expand Down

0 comments on commit 433ed44

Please sign in to comment.