Changeset 58358 for branches/5.9/.github/workflows/javascript-tests.yml
- Timestamp:
- 06/06/2024 04:34:11 PM (3 months ago)
- Location:
- branches/5.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.9
- Property svn:mergeinfo changed
/trunk merged: 53552,53895,56113-56114,57124-57125,57249,57918,58157
- Property svn:mergeinfo changed
-
branches/5.9/.github/workflows/javascript-tests.yml
r55516 r58358 39 39 cancel-in-progress: true 40 40 41 # Disable permissions for all available scopes by default. 42 # Any needed permissions should be configured at the job level. 43 permissions: {} 44 41 45 jobs: 42 46 # Runs the QUnit tests for WordPress. 43 #44 # Performs the following steps:45 # - Checks out the repository.46 # - Logs debug information about the GitHub Action runner.47 # - Installs Node.js.48 # - Logs updated debug information.49 # _ Installs npm dependencies.50 # - Run the WordPress QUnit tests.51 # - Ensures version-controlled files are not modified or deleted.52 47 test-js: 53 48 name: QUnit Tests 54 runs-on: ubuntu-latest 55 timeout-minutes: 20 49 uses: WordPress/wordpress-develop/.github/workflows/reusable-javascript-tests.yml@trunk 50 permissions: 51 contents: read 56 52 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 57 58 steps:59 - name: Checkout repository60 uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.061 62 - name: Log debug information63 run: |64 npm --version65 node --version66 git --version67 svn --version68 69 - name: Install Node.js70 uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.071 with:72 node-version-file: '.nvmrc'73 cache: npm74 75 - name: Log debug information76 run: |77 npm --version78 node --version79 80 - name: Install Dependencies81 run: npm ci82 83 - name: Run QUnit tests84 run: npm run grunt qunit:compiled85 86 - name: Ensure version-controlled files are not modified or deleted87 run: git diff --exit-code88 53 89 54 slack-notifications: 90 55 name: Slack Notifications 91 56 uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk 57 permissions: 58 actions: read 59 contents: read 92 60 needs: [ test-js ] 93 61 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} … … 103 71 name: Failed workflow tasks 104 72 runs-on: ubuntu-latest 73 permissions: 74 actions: write 105 75 needs: [ test-js, slack-notifications ] 106 76 if: |
Note: See TracChangeset
for help on using the changeset viewer.