Skip to content

Commit

Permalink
node 12 updates (#85)
Browse files Browse the repository at this point in the history
* 1.22.3

* Update to node 12

* Add engines field

* Switch to actions
  • Loading branch information
vladikoff authored May 15, 2021
1 parent e7647a9 commit fe57530
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 25 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Tests

on: [push, pull_request]

env:
FORCE_COLOR: 2

jobs:
run:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node: [12, 14]
os: [ubuntu-latest, windows-latest]

steps:
- name: Clone repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

- name: Install npm dependencies
run: npm ci

- name: Run tests
run: npm test

# We test multiple Windows shells because of prior stdout buffering issues
# filed against Grunt. https://github.com/joyent/node/issues/3584
- name: Run PowerShell tests
run: "npm test # PowerShell" # Pass comment to PS for easier debugging
shell: powershell
if: startsWith(matrix.os, 'windows')
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ geckodriver
geckodriver.tar.gz
.idea
!bin/geckodriver
.github
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

17 changes: 0 additions & 17 deletions appveyor.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "geckodriver",
"version": "1.22.2",
"version": "1.22.3",
"description": "Downloader for https://github.com/mozilla/geckodriver/releases",
"scripts": {
"test": "ava",
Expand All @@ -15,6 +15,9 @@
"email": "[email protected]",
"url": "http://vf.io"
},
"engines": {
"node": ">=12.0.0"
},
"main": "lib/geckodriver",
"bin": {
"geckodriver": "./bin/geckodriver"
Expand Down

0 comments on commit fe57530

Please sign in to comment.