Skip to content

Commit 6373bc7

Browse files
chore!: Dropped support for Node 12 (#216)
BREAKING CHANGE: Dropped support for Node 12
1 parent 1ccf321 commit 6373bc7

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: Default CI
22
on:
33
push:
44
branches:
5-
- 'master'
5+
- master
66
pull_request:
77
branches:
8-
- '**'
8+
- '**'
99
jobs:
1010
tests:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node: [12, 14, 16]
14+
node: [16]
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2

.github/workflows/release.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,38 @@ name: Release CI
22
on:
33
push:
44
branches:
5-
- master
5+
- master
66
jobs:
77
release:
88
name: Release
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Checkout
12-
uses: actions/checkout@v2
13-
with:
14-
fetch-depth: 0
15-
- name: Setup Node.js
16-
uses: actions/setup-node@v2
17-
with:
18-
node-version: 12
19-
- name: Install dependencies
20-
run: npm ci
21-
- name: Validate package-lock.json changes
22-
run: make validate-no-uncommitted-package-lock-changes
23-
- name: Lint
24-
run: npm run lint
25-
- name: Test
26-
run: npm run test
27-
- name: i18n_extract
28-
run: npm run i18n_extract
29-
- name: Coverage
30-
uses: codecov/codecov-action@v2
31-
- name: Build
32-
run: npm run build
33-
- name: Release
34-
uses: cycjimmy/semantic-release-action@v2
35-
with:
36-
semantic_version: 16
37-
env:
38-
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
39-
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: 16
19+
- name: Install dependencies
20+
run: npm ci
21+
- name: Validate package-lock.json changes
22+
run: make validate-no-uncommitted-package-lock-changes
23+
- name: Lint
24+
run: npm run lint
25+
- name: Test
26+
run: npm run test
27+
- name: i18n_extract
28+
run: npm run i18n_extract
29+
- name: Coverage
30+
uses: codecov/codecov-action@v2
31+
- name: Build
32+
run: npm run build
33+
- name: Release
34+
uses: cycjimmy/semantic-release-action@v2
35+
with:
36+
semantic_version: 16
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
39+
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}

0 commit comments

Comments
 (0)