Changeset 58300 for branches/6.3/.github/workflows/javascript-tests.yml
- Timestamp:
- 06/03/2024 05:00:05 PM (20 months ago)
- Location:
- branches/6.3
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
.github/workflows/javascript-tests.yml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.3
- Property svn:mergeinfo changed
/trunk merged: 57124-57125,57249,57918,58157
- Property svn:mergeinfo changed
-
branches/6.3/.github/workflows/javascript-tests.yml
r55717 r58300 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@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.066 67 - name: Set up Node.js68 uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.069 with:70 node-version-file: '.nvmrc'71 cache: npm72 73 - name: Log debug information74 run: |75 npm --version76 node --version77 git --version78 svn --version79 80 - name: Install npm 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: … … 120 85 steps: 121 86 - name: Dispatch workflow run 122 uses: actions/github-script@ 98814c53be79b1d30f795b907e553d8679345975 # v6.4.087 uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 123 88 with: 124 89 retries: 2
Note: See TracChangeset
for help on using the changeset viewer.