Opt into Node 24 actions runtime #18
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: public-demo-ci | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Pinned to actions/checkout v4 release tag commit 34e114876b0b11c390a56381ad16ebd13914f8d5. | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 | |
| with: | |
| persist-credentials: false | |
| # Pinned to actions/setup-python v5 release tag commit a26af69be951a213d495a4c3e4e4022e16d87065. | |
| - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' | |
| cache-dependency-path: requirements.lock.txt | |
| # Pinned to actions/setup-node v4 release tag commit 49933ea5288caeca8642d1e84afbd3f7d6820020. | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 | |
| with: | |
| node-version: '20' | |
| - name: Install Node dependencies from package-lock | |
| run: | | |
| npm ci | |
| echo "$PWD/node_modules/.bin" >> "$GITHUB_PATH" | |
| - name: Install package and test dependencies with locked constraints | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -c requirements.lock.txt -e ".[dev]" | |
| - name: Phase 30 v1.0 RC candidate quick integrity check | |
| run: python scripts/run_phase30_v1_rc_candidate_check.py --mode quick-integrity |