Skip to content

Commit

Permalink
fix some things
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Jun 27, 2024
1 parent 8252e94 commit df51205
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
name: 🚀 Deploy
runs-on: ubuntu-latest
# only deploy main branch on pushes
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
if:
${{ github.ref == 'refs/heads/main' && github.event_name == 'push' &&
github.repository_owner == 'epicweb-dev' }}

steps:
- name: ⬇️ Checkout repo
Expand Down
4 changes: 3 additions & 1 deletion epicshop/update-deps.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
npx npm-check-updates --dep prod,dev --upgrade --root
rm -rf node_modules package-lock.json ./exercises/**/node_modules
cd epicshop && npx npm-check-updates --dep prod,dev --upgrade --root
cd ..
rm -rf node_modules package-lock.json ./epicshop/package-lock.json ./epicshop/node_modules ./exercises/**/node_modules
npm install
npm run setup
npm run typecheck
Expand Down

0 comments on commit df51205

Please sign in to comment.