Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
chrabyrd committed Apr 30, 2024
1 parent f755999 commit 5d800ba
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,25 @@ jobs:
with:
elasticsearch-version: 8

- name: Webpack frontend files
run: |
echo "Checking for yarn.lock file..."
if [ -f yarn.lock ]; then
echo "Removing yarn.lock due to yarn v1 package resolution issues"
echo "https://github.com/iarna/wide-align/issues/63"
rm yarn.lock
else
echo "yarn.lock not found, skipping remove."
fi
echo "Checking for package.json..."
if [ -f package.json ]; then
echo "package.json found, building static bundle."
yarn && yarn build_test
else
echo "package.json not found, skipping yarn commands."
fi
- name: Check for missing migrations
run: |
python manage.py makemigrations --check
Expand Down Expand Up @@ -124,6 +143,25 @@ jobs:
with:
elasticsearch-version: 8

- name: Webpack frontend files
run: |
echo "Checking for yarn.lock file..."
if [ -f yarn.lock ]; then
echo "Removing yarn.lock due to yarn v1 package resolution issues"
echo "https://github.com/iarna/wide-align/issues/63"
rm yarn.lock
else
echo "yarn.lock not found, skipping remove."
fi
echo "Checking for package.json..."
if [ -f package.json ]; then
echo "package.json found, building static bundle."
yarn && yarn build_test
else
echo "package.json not found, skipping yarn commands."
fi
- name: Check for missing migrations
run: |
python manage.py makemigrations --check
Expand Down

0 comments on commit 5d800ba

Please sign in to comment.