Changeset 58165 for trunk/.github/workflows/javascript-tests.yml
- Timestamp:
- 05/17/2024 05:41:40 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/javascript-tests.yml
r57655 r58165 44 44 45 45 jobs: 46 # Runs the QUnit tests for WordPress. 47 # 48 # Performs the following steps: 49 # - Checks out the repository. 50 # - Sets up Node.js. 51 # - Logs debug information about the GitHub Action runner. 52 # - Installs npm dependencies. 53 # - Run the WordPress QUnit tests. 54 # - Ensures version-controlled files are not modified or deleted. 46 # Runs the WordPress Core JavaScript tests. 55 47 test-js: 56 48 name: QUnit Tests 57 runs-on: ubuntu-latest49 uses: WordPress/wordpress-develop/.github/workflows/reusable-javascript-tests.yml@trunk 58 50 permissions: 59 51 contents: read 60 timeout-minutes: 2061 52 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 62 63 steps:64 - name: Checkout repository65 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.166 with:67 show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}68 69 - name: Set up Node.js70 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.271 with:72 node-version-file: '.nvmrc'73 cache: npm74 75 - name: Log debug information76 run: |77 npm --version78 node --version79 git --version80 81 - name: Install npm Dependencies82 run: npm ci83 84 - name: Run QUnit tests85 run: npm run grunt qunit:compiled86 87 - name: Ensure version-controlled files are not modified or deleted88 run: git diff --exit-code89 53 90 54 slack-notifications:
Note: See TracChangeset
for help on using the changeset viewer.