Skip to content

Update reproducer.yml #4

Update reproducer.yml

Update reproducer.yml #4

Workflow file for this run

name: Pre-merge
on: push
jobs:
reproducer:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
- name: Install net-tools
run: sudo apt install net-tools
- name: Run verdaccio & Wait for it
run: |
# Start Verdaccio
npx verdaccio --config verdaccio.yml &
# Wait for verdaccio for up to 10 seconds on IPv6 port
npx wait-on http://localhost:0.0.0.0: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