Skip to content

Commit

Permalink
Update reproducer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vidyasagarnimmagaddi authored Jun 14, 2024
1 parent b957867 commit ebc39d3
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/reproducer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,12 @@ jobs:
uses: actions/setup-node@v4
- name: Install net-tools
run: sudo apt install net-tools
- name: Configure Verdaccio for IPv4
run: |
# Assuming verdaccio.yml is in the current directory and uses the 'listen' field
echo "listen: - 0.0.0.0:4873" > verdaccio.yml
- name: Run verdaccio & Wait for it
run: |
# Start Verdaccio
npx verdaccio --config verdaccio.yml &
# Wait for verdaccio for up to 10 seconds on IPv4 port
# Wait for verdaccio for up to 10 seconds on IPv6 port
npx wait-on http://localhost:4873 --timeout 10000
continue-on-error: true
- name: Check Verdaccio port
run: |
if netstat -tuln | grep 4873; then
echo "Verdaccio is listening on port 4873"
else
echo "Verdaccio is not listening on port 4873"
fi
- name: Print open ports
run: netstat -ano

0 comments on commit ebc39d3

Please sign in to comment.