mirror of
https://github.com/jquery/jquery.git
synced 2026-01-13 20:47:55 -05:00
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/cache](https://github.com/actions/cache) and [github/codeql-action](https://github.com/github/codeql-action). Closes gh-5698 Updates `actions/checkout` from 4.2.2 to 5.0.0 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](11bd71901b...08c6903cd8) Updates `actions/cache` from 4.2.3 to 4.2.4 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](5a3ec84eff...0400d5f644) Updates `github/codeql-action` from 3.29.2 to 3.29.11 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](181d5eefc2...3c3833e0f8) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/cache dependency-version: 4.2.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action dependency-version: 3.29.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
65 lines
1.6 KiB
YAML
65 lines
1.6 KiB
YAML
name: Browserstack (Manual Dispatch)
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
module:
|
|
description: 'Module to test'
|
|
required: true
|
|
type: choice
|
|
options:
|
|
- 'basic'
|
|
- 'ajax'
|
|
- 'animation'
|
|
- 'attributes'
|
|
- 'callbacks'
|
|
- 'core'
|
|
- 'css'
|
|
- 'data'
|
|
- 'deferred'
|
|
- 'deprecated'
|
|
- 'dimensions'
|
|
- 'effects'
|
|
- 'event'
|
|
- 'manipulation'
|
|
- 'offset'
|
|
- 'queue'
|
|
- 'selector'
|
|
- 'serialize'
|
|
- 'support'
|
|
- 'traversing'
|
|
- 'tween'
|
|
browser:
|
|
description: 'Browser to test, in form of \"browser_[browserVersion | :device]_os_osVersion\"'
|
|
required: false
|
|
type: string
|
|
default: 'chrome__windows_11'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
environment: browserstack
|
|
env:
|
|
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
|
|
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
|
|
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Build jQuery
|
|
run: npm run build:all
|
|
|
|
- name: Pretest script
|
|
run: npm run pretest
|
|
|
|
- name: Run tests
|
|
run: npm run test:unit -- \
|
|
-v --browserstack ${{ inputs.browser }} \
|
|
-f module=${{ inputs.module }}
|