Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(config): load ESM testem.js and testem.mjs configs #1151

feat(config): load ESM testem.js and testem.mjs configs

feat(config): load ESM testem.js and testem.mjs configs #1151

Workflow file for this run

name: CI
on:
push:
branches:
- master
- "0.6"
- "0.8.x"
- v*
pull_request:
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
cache: "npm"
cache-dependency-path: package.json
- run: npm i
- run: npm run lint
test:
strategy:
matrix:
os: [ubuntu-latest]
node: [20, 22, 24]
include:
- os: macos-latest
node: 22
- os: windows-latest
node: 22
fail-fast: true
runs-on: ${{ matrix.os }}
steps:
- uses: browser-actions/[email protected]
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
cache: "npm"
cache-dependency-path: package.json
- run: firefox --version
- run: npm i
- uses: nick-invision/[email protected]
with:
timeout_minutes: 10
max_attempts: 3
retry_on: error
command: npm test
- run: sudo apt-get install -y libgtk2.0-0
if: runner.os == 'Linux'
- name: npm run integration
uses: GabrielBB/[email protected]
with:
run: npm run integration
safari-smoke:
name: safari-ci-smoke
runs-on: macos-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
cache: "npm"
cache-dependency-path: package.json
- run: npm i
- run: npm run ci:safari-smoke
browser-tests:
name: browser-tests
runs-on: ubuntu-latest
timeout-minutes: 10
concurrency: "sauce"
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
cache: "npm"
cache-dependency-path: package.json
- run: npm i
- run: npm run browser-tests
env:
SAUCE_USERNAME: testem-ci
SAUCE_ACCESS_KEY: 1f00979e-0252-4d69-98ff-f6c85d1a746b