Skip to content

Commit efeed57

Browse files
authored
Merge pull request #10 from form8ion/alpha
2 parents 6473e2e + 2d91dd7 commit efeed57

22 files changed

Lines changed: 19326 additions & 312 deletions

.github/workflows/node-ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ env:
1616
jobs:
1717
verify:
1818
runs-on: ubuntu-latest
19+
strategy:
20+
matrix:
21+
node: ['12.20', 12, 14, 16]
1922
steps:
2023
- uses: actions/checkout@v2
21-
- name: Read .nvmrc
22-
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
23-
id: nvm
2424
- name: Setup node
2525
uses: actions/setup-node@v2
2626
with:
27-
node-version: ${{ steps.nvm.outputs.NVMRC }}
27+
node-version: '${{ matrix.node }}'
2828
- uses: bahmutov/npm-install@v1
2929
- run: npm test
3030
- name: Upload coverage data to Codecov
@@ -34,13 +34,10 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- uses: actions/checkout@v2
37-
- name: Read .nvmrc
38-
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
39-
id: nvm
4037
- name: Setup node
4138
uses: actions/setup-node@v2
4239
with:
43-
node-version: ${{ steps.nvm.outputs.NVMRC }}
40+
node-version: lts/*
4441
- uses: bahmutov/npm-install@v1
4542
- name: semantic-release
4643
run: npx semantic-release

.nvmrc

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

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ toolset
2424

2525
[![MIT license][license-badge]][license-link]
2626
[![npm][npm-badge]][npm-link]
27+
![node][node-badge]
2728
[![Try @form8ion/javascript on RunKit][runkit-badge]][runkit-link]
2829

2930
<!--consumer-badges end -->
@@ -107,6 +108,8 @@ $ npm test
107108

108109
[npm-badge]: https://img.shields.io/npm/v/@form8ion/javascript.svg
109110

111+
[node-badge]: https://img.shields.io/node/v/@form8ion/javascript.svg
112+
110113
[runkit-link]: https://npm.runkit.com/@form8ion/javascript
111114

112115
[runkit-badge]: https://badge.runkitcdn.com/@form8ion/javascript.svg

0 commit comments

Comments
 (0)