Add Safari 26 to supported browsers
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Run tests against supported Node versions, and (except for pull requests)
|
# Run tests against supported Node versions, and (except for pull requests)
|
||||||
# against supported browsers.
|
# against supported browsers that are available on Saucelabs.
|
||||||
|
|
||||||
version: 2.1
|
version: 2.1
|
||||||
|
|
||||||
@@ -93,7 +93,7 @@ jobs:
|
|||||||
export SAUCE_TUNNEL_NAME=$CIRCLE_WORKFLOW_JOB_ID
|
export SAUCE_TUNNEL_NAME=$CIRCLE_WORKFLOW_JOB_ID
|
||||||
scripts/start-sauce-connect
|
scripts/start-sauce-connect
|
||||||
set +o errexit
|
set +o errexit
|
||||||
scripts/run-all-browsers
|
scripts/run-sauce-browsers
|
||||||
exitcode=$?
|
exitcode=$?
|
||||||
set -o errexit
|
set -o errexit
|
||||||
scripts/stop-sauce-connect
|
scripts/stop-sauce-connect
|
||||||
|
|||||||
21
.github/workflows/safari.yml
vendored
Normal file
21
.github/workflows/safari.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
name: Test in latest available Safari
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Report Safari version
|
||||||
|
run: osascript -e 'get version of application "Safari"'
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Use Node.js 22.x
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 22.x
|
||||||
|
- run: npm install
|
||||||
|
- run: npm run build
|
||||||
|
- run: JASMINE_BROWSER=safari npm run ci
|
||||||
@@ -30,7 +30,7 @@ Microsoft Edge) as well as Node.
|
|||||||
| Environment | Supported versions |
|
| Environment | Supported versions |
|
||||||
|-------------------|----------------------------------|
|
|-------------------|----------------------------------|
|
||||||
| Node | 18.20.5+*, 20, 22, 24 |
|
| Node | 18.20.5+*, 20, 22, 24 |
|
||||||
| Safari | 16*, 17* |
|
| Safari | 16*, 17*, 26* |
|
||||||
| Chrome | Evergreen |
|
| Chrome | Evergreen |
|
||||||
| Firefox | Evergreen, 102*, 115*, 128*, 140 |
|
| Firefox | Evergreen, 102*, 115*, 128*, 140 |
|
||||||
| Edge | Evergreen |
|
| Edge | Evergreen |
|
||||||
|
|||||||
15
RELEASE.md
15
RELEASE.md
@@ -28,9 +28,18 @@ should also rev to that version.
|
|||||||
|
|
||||||
When ready to release - specs are all green and the stories are done:
|
When ready to release - specs are all green and the stories are done:
|
||||||
|
|
||||||
1. Update the release notes in `release_notes` - use the Anchorman gem to generate the markdown file and edit accordingly. Include a list of supported environments.
|
1. Update the release notes in `release_notes` - use the Anchorman gem to
|
||||||
1. Update the version in `package.json`
|
generate the Markdown file and edit accordingly. Include a list of supported
|
||||||
1. Run `npm run build`.
|
environments. Get that information from these places:
|
||||||
|
* For Node, see .circleci/config.yml or the README.
|
||||||
|
* For Firefox ESR and Safari <=17, see scripts/run-sauce-browsers or the README.
|
||||||
|
* For evergreen browsers, trigger a Circle CI run and check the
|
||||||
|
[Saucelabs dashboard](https://app.saucelabs.com/dashboard/tests?ownerId=90a771d55857492da3bd5251a2d92457&ownerType=user&ownerName=jasmine-js&start=last7days)
|
||||||
|
once it's finished.
|
||||||
|
* For Safari >17, trigger the [Safari action](https://github.com/jasmine/jasmine/actions/workflows/safari.yml)
|
||||||
|
and get the version from the output.
|
||||||
|
2. Update the version in `package.json`
|
||||||
|
3. Run `npm run build`.
|
||||||
|
|
||||||
### Commit and push core changes
|
### Commit and push core changes
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Run tests in supported browsers that are available on Saucelabs.
|
||||||
|
# Note: The latest Safari version is tested via GitHub Actions because Saucelabs
|
||||||
|
# only makes it available to paid enterprise accounts. See
|
||||||
|
# .github/workflows/safari.yml.
|
||||||
|
|
||||||
run_browser() {
|
run_browser() {
|
||||||
browser=$1
|
browser=$1
|
||||||
version=$2
|
version=$2
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
// TODO: Fix these unit tests!
|
|
||||||
describe('Env', function() {
|
describe('Env', function() {
|
||||||
let env;
|
let env;
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user