-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Fix Chromium errors - 5.4 #8126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a7892d9
Update `grunt-contrib-qunit`.
desrosj 008adc2
Revert "Update `grunt-contrib-qunit`."
desrosj 4314e00
Try actions fix.
desrosj b806569
Remove fix to confirm it works.
desrosj 1cadfd7
Use upstream test branch.
desrosj f642207
Boolean not string.
desrosj 8e514f5
Remove newline
swissspidy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| ## | ||
| # A reusable workflow that runs JavaScript tests. | ||
| ## | ||
| name: JavaScript tests | ||
|
|
||
| on: | ||
| workflow_call: | ||
|
|
||
| jobs: | ||
| # Runs the QUnit test suite. | ||
| # | ||
| # Performs the following steps: | ||
| # - Checks out the repository. | ||
| # - Sets up Node.js. | ||
| # - Logs debug information about the GitHub Action runner. | ||
| # - Installs npm dependencies. | ||
| # - Run the WordPress QUnit tests. | ||
| # - Ensures version-controlled files are not modified or deleted. | ||
| test-js: | ||
| name: Run QUnit tests | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| timeout-minutes: 20 | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
| with: | ||
| show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | ||
| with: | ||
| node-version-file: '.nvmrc' | ||
| cache: npm | ||
|
|
||
| - name: Log debug information | ||
| run: | | ||
| npm --version | ||
| node --version | ||
| git --version | ||
|
|
||
| - name: Install npm Dependencies | ||
| run: npm ci | ||
|
|
||
|
|
||
swissspidy marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - name: Run QUnit tests | ||
| run: npm run grunt qunit:compiled | ||
|
|
||
| - name: Ensure version-controlled files are not modified or deleted | ||
| run: git diff --exit-code | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.