Skip to content

Commit fe57530

Browse files
authoredMay 15, 2021
node 12 updates (#85)
* 1.22.3 * Update to node 12 * Add engines field * Switch to actions
1 parent e7647a9 commit fe57530

File tree

6 files changed

+45
-25
lines changed

6 files changed

+45
-25
lines changed
 

‎.github/workflows/test.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
FORCE_COLOR: 2
7+
8+
jobs:
9+
run:
10+
name: Node ${{ matrix.node }} on ${{ matrix.os }}
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
node: [12, 14]
17+
os: [ubuntu-latest, windows-latest]
18+
19+
steps:
20+
- name: Clone repository
21+
uses: actions/checkout@v2
22+
23+
- name: Set up Node.js
24+
uses: actions/setup-node@v2
25+
with:
26+
node-version: ${{ matrix.node }}
27+
28+
- name: Install npm dependencies
29+
run: npm ci
30+
31+
- name: Run tests
32+
run: npm test
33+
34+
# We test multiple Windows shells because of prior stdout buffering issues
35+
# filed against Grunt. https://github.com/joyent/node/issues/3584
36+
- name: Run PowerShell tests
37+
run: "npm test # PowerShell" # Pass comment to PS for easier debugging
38+
shell: powershell
39+
if: startsWith(matrix.os, 'windows')

‎.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ geckodriver
33
geckodriver.tar.gz
44
.idea
55
!bin/geckodriver
6+
.github

‎.travis.yml

-6
This file was deleted.

‎appveyor.yml

-17
This file was deleted.

‎package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "geckodriver",
3-
"version": "1.22.2",
3+
"version": "1.22.3",
44
"description": "Downloader for https://github.com/mozilla/geckodriver/releases",
55
"scripts": {
66
"test": "ava",
@@ -15,6 +15,9 @@
1515
"email": "vlad.filippov@gmail.com",
1616
"url": "http://vf.io"
1717
},
18+
"engines": {
19+
"node": ">=12.0.0"
20+
},
1821
"main": "lib/geckodriver",
1922
"bin": {
2023
"geckodriver": "./bin/geckodriver"

0 commit comments

Comments
 (0)
Please sign in to comment.