Skip to content

Bump @tootallnate/once from 2.0.0 to 2.0.1 in the npm_and_yarn group across 1 directory #356

Bump @tootallnate/once from 2.0.0 to 2.0.1 in the npm_and_yarn group across 1 directory

Bump @tootallnate/once from 2.0.0 to 2.0.1 in the npm_and_yarn group across 1 directory #356

Workflow file for this run

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