Skip to content

Commit 1e55b27

Browse files
committed
aligned CI and node usage (node 14 and 16)
1 parent 4048f82 commit 1e55b27

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
node-version:
18+
- 14.x
1819
- 16.x
1920
steps:
2021
- uses: actions/checkout@v2
@@ -27,7 +28,7 @@ jobs:
2728
- run: npm run doc
2829
- run: npm run build
2930
- name: Save build
30-
if: matrix.node-version == '16.x'
31+
if: matrix.node-version == '14.x'
3132
uses: actions/upload-artifact@v2
3233
with:
3334
name: build
@@ -59,7 +60,7 @@ jobs:
5960
name: build
6061
- uses: actions/setup-node@v1
6162
with:
62-
node-version: 16.x
63+
node-version: 14.x
6364
- uses: rlespinasse/github-slug-action@v3.x
6465
- name: Append commit hash to package version
6566
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
@@ -80,7 +81,7 @@ jobs:
8081
name: build
8182
- uses: actions/setup-node@v1
8283
with:
83-
node-version: 16.x
84+
node-version: 14.x
8485
- name: Disable pre- and post-publish actions
8586
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
8687
- uses: JS-DevTools/npm-publish@v1

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16.13.2
1+
v16.14.0

0 commit comments

Comments
 (0)