Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit 13e614a

Browse files
chore!: Dropped support for Node 12 (#343)
BREAKING CHANGE: Dropped Node 12 support
1 parent da788d7 commit 13e614a

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ name: node_js CI
33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
pull_request:
88
branches:
9-
- "**"
9+
- '**'
1010

1111
jobs:
1212
tests:
1313
runs-on: ubuntu-20.04
1414
strategy:
1515
matrix:
16-
node: [ 12, 14, 16 ]
16+
node: [16]
1717

1818
steps:
1919
- name: Checkout

.github/workflows/npm-publish.yml

Lines changed: 23 additions & 23 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

77
jobs:
88
release:
99
name: Release
1010
runs-on: ubuntu-20.04
1111

1212
steps:
13-
- name: Checkout
14-
uses: actions/checkout@v2
15-
with:
16-
fetch-depth: 0
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
1717

18-
- name: Setup Node.js
19-
uses: actions/setup-node@v1
20-
with:
21-
node-version: 12
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: 16
2222

23-
- name: Install dependencies
24-
run: npm ci
23+
- name: Install dependencies
24+
run: npm ci
2525

26-
- name: Create Build
27-
run: npm run build
26+
- name: Create Build
27+
run: npm run build
2828

29-
- name: Release Package
30-
env:
31-
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
32-
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
33-
run: npx semantic-release
29+
- name: Release Package
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
32+
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
33+
run: npx semantic-release
3434

35-
- name: Deploy to GH pages
36-
env:
37-
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
38-
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
39-
run: npx deploy-storybook-ci
35+
- name: Deploy to GH pages
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
38+
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
39+
run: npx deploy-storybook-ci

0 commit comments

Comments
 (0)