Skip to content

Commit

Permalink
chore!: drop support for node 12 and old operating systems (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo authored Feb 5, 2022
1 parent 9e60ff3 commit ca75faf
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 21 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,25 @@ jobs:
matrix:
os:
- 'ubuntu-latest'
- 'windows-2016'
- 'windows-2019'
- 'windows-2022'
- 'macos-10.15'
- 'macos-11'
- 'macos-latest'
node:
- '12'
- '16'
- '16.x'
steps:
- uses: 'actions/checkout@v2'

- uses: 'actions/setup-node@v2'
with:
node-version: '${{ matrix.node }}.x'
node-version: '${{ matrix.node }}'

- name: 'npm build'
run: 'npm ci && npm run build'

- name: 'npm lint'
# There's no need to run the linter for each operating system, since it
# will find the same thing 9x and clog up the PR review.
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '14' }}
if: ${{ matrix.os == 'ubuntu-latest' }}
run: 'npm run lint'

- name: 'npm test'
Expand Down
26 changes: 13 additions & 13 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/chai": "^4.3.x",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.14",
"@types/sinon": "^10.0.9",
"@types/sinon": "^10.0.10",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"@vercel/ncc": "^0.33.1",
Expand Down

0 comments on commit ca75faf

Please sign in to comment.