wdio-rerun-service 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/.editorconfig +0 -20
- package/.eslintignore +0 -3
- package/.github/workflows/release.yml +0 -68
- package/.github/workflows/test.yml +0 -50
- package/.github/workflows/update.yml +0 -30
- package/.nvmrc +0 -1
- package/tsconfig.cjs.json +0 -10
- package/tsconfig.esm.json +0 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wdio-rerun-service",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "A WebdriverIO service to track and prepare for re-running failing or flaky Jasmine/Mocha tests or Cucumber Scenarios.",
|
|
5
5
|
"author": "Mike Salvia <msalvia@jwplayer.com>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio-community/wdio-rerun-service",
|
package/.editorconfig
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# EditorConfig helps developers define and maintain consistent
|
|
2
|
-
# coding styles between different editors and IDEs
|
|
3
|
-
# editorconfig.org
|
|
4
|
-
|
|
5
|
-
root = true
|
|
6
|
-
|
|
7
|
-
[*]
|
|
8
|
-
indent_style = space
|
|
9
|
-
indent_size = 4
|
|
10
|
-
end_of_line = lf
|
|
11
|
-
charset = utf-8
|
|
12
|
-
trim_trailing_whitespace = true
|
|
13
|
-
insert_final_newline = true
|
|
14
|
-
|
|
15
|
-
[*.md]
|
|
16
|
-
max_line_length = 0
|
|
17
|
-
trim_trailing_whitespace = false
|
|
18
|
-
|
|
19
|
-
[{*.json,*.yml}]
|
|
20
|
-
indent_size = 2
|
package/.eslintignore
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
name: Manual NPM Publish
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
inputs:
|
|
6
|
-
releaseType:
|
|
7
|
-
description: "Release type - major, minor or patch"
|
|
8
|
-
required: true
|
|
9
|
-
type: choice
|
|
10
|
-
default: "patch"
|
|
11
|
-
options:
|
|
12
|
-
- patch
|
|
13
|
-
- minor
|
|
14
|
-
- major
|
|
15
|
-
distTag:
|
|
16
|
-
description: 'NPM tag (e.g. use "next --preRelease=alpha --github.preRelease" to release a test version)'
|
|
17
|
-
required: true
|
|
18
|
-
default: 'latest'
|
|
19
|
-
preRelease:
|
|
20
|
-
description: If latest release was a pre-release (e.g. X.X.X-alpha.0) and you want to push another one, pick "yes"
|
|
21
|
-
required: true
|
|
22
|
-
type: choice
|
|
23
|
-
default: "no"
|
|
24
|
-
options:
|
|
25
|
-
- "yes"
|
|
26
|
-
- "no"
|
|
27
|
-
|
|
28
|
-
env:
|
|
29
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
30
|
-
|
|
31
|
-
jobs:
|
|
32
|
-
release:
|
|
33
|
-
runs-on: ubuntu-latest
|
|
34
|
-
steps:
|
|
35
|
-
- uses: actions/checkout@v3
|
|
36
|
-
with:
|
|
37
|
-
ref: main
|
|
38
|
-
fetch-depth: 0
|
|
39
|
-
- uses: actions/setup-node@v3
|
|
40
|
-
with:
|
|
41
|
-
node-version: 18.x
|
|
42
|
-
- name: NPM Setup
|
|
43
|
-
run: |
|
|
44
|
-
npm set registry "https://registry.npmjs.org/"
|
|
45
|
-
npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
|
|
46
|
-
npm whoami
|
|
47
|
-
- name: Git Setup
|
|
48
|
-
run: |
|
|
49
|
-
git config --global user.email "bot@webdriver.io"
|
|
50
|
-
git config --global user.name "WebdriverIO Release Bot"
|
|
51
|
-
- name: Install Dependencies
|
|
52
|
-
run: npm ci --ignore-scripts
|
|
53
|
-
- name: Build Project
|
|
54
|
-
run: npm run build --if-present
|
|
55
|
-
env:
|
|
56
|
-
NODE_ENV: production
|
|
57
|
-
- name: Release
|
|
58
|
-
run: npx release-it ${{github.event.inputs.releaseType}} --github.release --ci --npm.skipChecks --no-git.requireCleanWorkingDir --npm.tag=${{github.event.inputs.distTag}}
|
|
59
|
-
env:
|
|
60
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
61
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
62
|
-
if: ${{ github.event.inputs.preRelease == 'no' }}
|
|
63
|
-
- name: Pre-Release
|
|
64
|
-
run: npx release-it ${{github.event.inputs.releaseType}} --github.release --ci --npm.skipChecks --no-git.requireCleanWorkingDir --preRelease=alpha --github.preRelease --npm.tag=next
|
|
65
|
-
env:
|
|
66
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
67
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
68
|
-
if: ${{ github.event.inputs.preRelease == 'yes' }}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
|
2
|
-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
3
|
-
|
|
4
|
-
name: Test
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches: [main]
|
|
9
|
-
pull_request:
|
|
10
|
-
branches: [main]
|
|
11
|
-
|
|
12
|
-
permissions:
|
|
13
|
-
contents: read # to fetch code (actions/checkout)
|
|
14
|
-
|
|
15
|
-
jobs:
|
|
16
|
-
build:
|
|
17
|
-
runs-on: ubuntu-latest
|
|
18
|
-
strategy:
|
|
19
|
-
matrix:
|
|
20
|
-
node-version: [16.x, 18.x]
|
|
21
|
-
steps:
|
|
22
|
-
- uses: actions/checkout@v3
|
|
23
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
24
|
-
uses: actions/setup-node@v3
|
|
25
|
-
with:
|
|
26
|
-
node-version: ${{ matrix.node-version }}
|
|
27
|
-
- run: npm i -g npm@latest
|
|
28
|
-
- run: npm ci --ignore-scripts
|
|
29
|
-
- run: npm run build --if-present
|
|
30
|
-
- run: npm test
|
|
31
|
-
env:
|
|
32
|
-
CI: true
|
|
33
|
-
|
|
34
|
-
build-windows:
|
|
35
|
-
runs-on: windows-latest
|
|
36
|
-
strategy:
|
|
37
|
-
matrix:
|
|
38
|
-
node-version: [16.x]
|
|
39
|
-
steps:
|
|
40
|
-
- uses: actions/checkout@v3
|
|
41
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
42
|
-
uses: actions/setup-node@v3
|
|
43
|
-
with:
|
|
44
|
-
node-version: ${{ matrix.node-version }}
|
|
45
|
-
- run: npm i -g npm@latest
|
|
46
|
-
- run: npm ci --ignore-scripts
|
|
47
|
-
- run: npm run build --if-present
|
|
48
|
-
- run: npm test
|
|
49
|
-
env:
|
|
50
|
-
CI: true
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# this workflow merges requests from Dependabot if tests are passing
|
|
2
|
-
name: Merge me!
|
|
3
|
-
|
|
4
|
-
on:
|
|
5
|
-
workflow_run:
|
|
6
|
-
workflows:
|
|
7
|
-
- Test
|
|
8
|
-
types:
|
|
9
|
-
- completed
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
merge-me:
|
|
13
|
-
name: Merge me!
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
steps:
|
|
16
|
-
- name: Merge me!
|
|
17
|
-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
18
|
-
uses: ridedott/merge-me-action@v2
|
|
19
|
-
with:
|
|
20
|
-
# Depending on branch prodtection rules, a manually populated
|
|
21
|
-
# `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to
|
|
22
|
-
# a protected branch must be used.
|
|
23
|
-
#
|
|
24
|
-
# When using a custom token, it is recommended to leave the following
|
|
25
|
-
# comment for other developers to be aware of the reasoning behind it:
|
|
26
|
-
#
|
|
27
|
-
# This must be used as GitHub Actions token does not support pushing
|
|
28
|
-
# to protected branches.
|
|
29
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
30
|
-
PRESET: DEPENDABOT_MINOR
|
package/.nvmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
v18.12.1
|
package/tsconfig.cjs.json
DELETED