Skip to content

Commit

Permalink
Merge branch 'master' into feat/sample-test-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
michelkaporin authored Feb 29, 2024
2 parents acd9fdc + 7f7004f commit 297f972
Show file tree
Hide file tree
Showing 53 changed files with 14,412 additions and 1,814 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor/axs_testing.js
39 changes: 39 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"extends": "standard",
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"env": {
"browser": true
},
"rules": {
"semi": ["error", "always"],
"no-var": "error",
"no-unused-vars": 0,
"no-global-assign": 0,
"guard-for-in": 2,
"space-before-function-paren": 0,
"@typescript-eslint/no-unused-vars": ["error", {
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}],
"prefer-const": ["error", {
"destructuring": "all"
}],
"standard/no-callback-literal": "off",
"node/no-deprecated-api": 0
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"overrides": [
{
"files": "*.d.ts",
"rules": {
"no-useless-constructor": "off",
"no-undef": "off"
}
}
]
}
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on:
push:
branches:
- master
tags:
- v[0-9]+.[0-9]+.[0-9]+*
pull_request:

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node-version: [12.x]

steps:
- name: Fix git checkout line endings
run: git config --global core.autocrlf input
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Get npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v1
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install
run: npm ci
- name: Test
run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
npm-debug.log
lib/api.json
.npmrc
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v4.4.7
v8.11.1
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ npm-debug.log
lib/api.json
lib/launcher.go
.node-version
.npmrc
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor/axs_testing.js
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "none",
"tabWidth": 2,
"singleQuote": true,
"endOfLine": "lf"
}
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,46 @@
# 5.0.0

* Supports Electron `3.x.y` releases.

# 4.0.0

* Supports Electron `2.0.x` releases.

# 3.8.0

* Supports Electron `1.8.x` releases.

# 3.7.3

* Updated README with better examples and fixed typos.
* Use launcher.bat instead of launcher.exe for Windows
* Added `webdriverOptions` to allow specifying additional webdriver options.

# 3.7.2

* Added `webdriverLogPath` to the Spectron typescript definition.
* Fixed typescript definition reference to the Electron API.

# 3.7.1

* Added a `chromeDriverArgs` option to the `Application` constructor that
can be used to pass arguments directly to `chromedriver`.

# 3.7.0

* Supports Electron `1.7.x` releases.

# 3.6.5

* Updated typescript definition for WebDriver logging support.
* Enhanced waitUntilTextExists() to find substrings in case the selector
matches multiple elements.

# 3.6.4

* Added a `chromeDriverArgs` option to the `Application` constructor that
can be used to pass arguments directly to `chromedriver`.

# 3.6.3

* Added a `spectron.d.ts` file referenced from the `types` field in the
Expand Down
Loading

0 comments on commit 297f972

Please sign in to comment.