Changeset 58276 for branches/6.4/.github/workflows/javascript-tests.yml
- Timestamp:
- 05/31/2024 07:23:44 PM (10 months ago)
- Location:
- branches/6.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.4
- Property svn:mergeinfo changed
/trunk merged: 57124-57125,57249,57918,58157
- Property svn:mergeinfo changed
-
branches/6.4/.github/workflows/javascript-tests.yml
r57002 r58276 45 45 jobs: 46 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.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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.066 with:67 show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}68 69 - name: Set up Node.js70 uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.171 with:72 node-version-file: '.nvmrc'73 cache: npm74 75 - name: Log debug information76 run: |77 npm --version78 node --version79 git --version80 svn --version81 82 - name: Install npm Dependencies83 run: npm ci84 85 - name: Run QUnit tests86 run: npm run grunt qunit:compiled87 88 - name: Ensure version-controlled files are not modified or deleted89 run: git diff --exit-code90 53 91 54 slack-notifications: … … 123 86 steps: 124 87 - name: Dispatch workflow run 125 uses: actions/github-script@ d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.188 uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 126 89 with: 127 90 retries: 2
Note: See TracChangeset
for help on using the changeset viewer.