Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nectariferous authored Jul 8, 2024
1 parent b98af01 commit 01f7455
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,16 @@ jobs:
- name: Build project
run: npm run build

- name: Check dev server
run: |
npm run dev &
sleep 10
curl -I http://localhost:3000
env:
NODE_ENV: development

- name: Publish package
if: github.ref == 'refs/heads/main'
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.TOKEN }}

0 comments on commit 01f7455

Please sign in to comment.