electron-chromedriver 19.0.0 → 21.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.
package/.circleci/config.yml
CHANGED
|
@@ -11,10 +11,33 @@ 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
|
|
32
|
+
- name: Use Node.js v16
|
|
33
|
+
uses: actions/setup-node@v3
|
|
34
|
+
with:
|
|
35
|
+
node-version: 16.x
|
|
36
|
+
registry-url: 'https://registry.npmjs.org'
|
|
37
|
+
- name: Check npm credentials
|
|
38
|
+
run: npm whoami
|
|
39
|
+
env:
|
|
40
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
18
41
|
- name: Set Git Credentials
|
|
19
42
|
run: |
|
|
20
43
|
git config user.name electron-bot
|
|
@@ -33,3 +56,7 @@ jobs:
|
|
|
33
56
|
- name: Create Release
|
|
34
57
|
run: |
|
|
35
58
|
gh release create ${{ github.event.inputs.version }} -t ${{ github.event.inputs.version }}
|
|
59
|
+
- name: Publish to npm
|
|
60
|
+
run: npm publish
|
|
61
|
+
env:
|
|
62
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "electron-chromedriver",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0",
|
|
4
4
|
"description": "Electron ChromeDriver",
|
|
5
5
|
"repository": "https://github.com/electron/chromedriver",
|
|
6
6
|
"bin": {
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"author": "Kevin Sawicki",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@electron/get": "^
|
|
20
|
+
"@electron/get": "^2.0.1",
|
|
21
21
|
"extract-zip": "^2.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"mocha": "^8.3.0",
|
|
25
25
|
"standard": "^13.1.0"
|
|
26
26
|
}
|
|
27
|
-
}
|
|
27
|
+
}
|