Bump webpack-dev-server from 5.2.2 to 5.2.4 in the npm_and_yarn group across 1 directory #353
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: IronWeb CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build_and_test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.x | |
| - name: build and unit test | |
| run: | | |
| yarn | |
| yarn test | |
| integration_test: | |
| runs-on: ubuntu-24.04 | |
| needs: build_and_test | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.x | |
| - uses: browser-actions/setup-chrome@latest | |
| id: setup-chrome | |
| with: | |
| chrome-version: stable | |
| install-chromedriver: true | |
| - name: install dependencies | |
| run: yarn | |
| - name: write project credentials | |
| run: | | |
| echo '${{ secrets.INTEGRATION_PROJECT_JSON }}' > integration/projects/project.json | |
| echo '${{ secrets.INTEGRATION_PRIVATE_KEY }}' > integration/projects/private.key | |
| - name: start integration servers | |
| run: | | |
| yarn start & | |
| for port in 4500 4501; do | |
| for i in $(seq 1 30); do | |
| if curl -sk https://localhost:$port > /dev/null 2>&1; then | |
| echo "Server on port $port is ready" | |
| break | |
| fi | |
| sleep 1 | |
| done | |
| done | |
| - name: run nightwatch tests | |
| env: | |
| CHROME_PATH: ${{ steps.setup-chrome.outputs.chrome-path }} | |
| CHROMEDRIVER_PATH: ${{ steps.setup-chrome.outputs.chromedriver-path }} | |
| run: yarn nightwatch |