electron-chromedriver 19.0.0 → 20.0.0
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.
|
@@ -11,8 +11,22 @@ env:
|
|
|
11
11
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
12
12
|
|
|
13
13
|
jobs:
|
|
14
|
-
|
|
14
|
+
run_tests:
|
|
15
|
+
strategy:
|
|
16
|
+
matrix:
|
|
17
|
+
os: [ubuntu-latest, macos-latest]
|
|
18
|
+
runs-on: ${{ matrix.os }}
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v3
|
|
21
|
+
- name: Install Dependencies
|
|
22
|
+
run: npm i
|
|
23
|
+
- name: Update Version
|
|
24
|
+
run: node script/update-version.js ${{ github.event.inputs.version }}
|
|
25
|
+
- name: Run Tests
|
|
26
|
+
run: npm test
|
|
27
|
+
create_new_version:
|
|
15
28
|
runs-on: ubuntu-latest
|
|
29
|
+
needs: run_tests
|
|
16
30
|
steps:
|
|
17
31
|
- uses: actions/checkout@v3
|
|
18
32
|
- name: Set Git Credentials
|
|
@@ -33,3 +47,8 @@ jobs:
|
|
|
33
47
|
- name: Create Release
|
|
34
48
|
run: |
|
|
35
49
|
gh release create ${{ github.event.inputs.version }} -t ${{ github.event.inputs.version }}
|
|
50
|
+
- name: Publish to npm
|
|
51
|
+
run: npm publish
|
|
52
|
+
env:
|
|
53
|
+
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
54
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "electron-chromedriver",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.0",
|
|
4
4
|
"description": "Electron ChromeDriver",
|
|
5
5
|
"repository": "https://github.com/electron/chromedriver",
|
|
6
6
|
"bin": {
|
|
@@ -24,4 +24,4 @@
|
|
|
24
24
|
"mocha": "^8.3.0",
|
|
25
25
|
"standard": "^13.1.0"
|
|
26
26
|
}
|
|
27
|
-
}
|
|
27
|
+
}
|