Skip to content

Commit

Permalink
feat!: Drop support for Node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
djdmbrwsk committed Jul 4, 2021
1 parent 03602aa commit dee404b
Show file tree
Hide file tree
Showing 5 changed files with 2,990 additions and 2,571 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/lint-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,37 @@ on: [push]

jobs:
lint:
name: Lint with Node 14
name: Lint with Node 16
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x
- run: npm ci
- run: npm run lint
build:
name: Build with Node 14
name: Build with Node 16
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x
- run: npm ci
- run: npm run build
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: ['14', '12', '10']
node_version: ['16', '14', '12']
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x
- run: npm ci
- uses: actions/setup-node@v1
with:
Expand All @@ -43,13 +43,13 @@ jobs:
env:
CI: true
coverage:
name: Upload coverage report with Node 14
name: Upload coverage report with Node 16
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x
- run: npm ci
- run: npm test
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x
- run: npm ci
- run: npm run build
- run: npx semantic-release
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.17
16.4.1
Loading

0 comments on commit dee404b

Please sign in to comment.