Skip to content

Commit

Permalink
feat(node-versions): define supported ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Aug 4, 2024
1 parent baa656d commit 16fa21c
Show file tree
Hide file tree
Showing 4 changed files with 3,317 additions and 187 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,24 @@ env:
permissions:
contents: read
jobs:
verify-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 18.17.0
- 20.6.1
- 21
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
cache: npm
node-version: ${{ matrix.node }}
- run: npm clean-install
- run: corepack npm audit signatures
- run: npm test
verify:
runs-on: ubuntu-latest
steps:
Expand All @@ -31,6 +49,7 @@ jobs:
release:
needs:
- verify
- verify-matrix
permissions:
contents: write
id-token: write
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ form8ion plugin for node.js project deployed with Docker
[![npm][npm-badge]][npm-link]
[![Try @form8ion/docker-nodejs on RunKit][runkit-badge]][runkit-link]
[![license][license-badge]][license-link]
![node][node-badge]

<!--consumer-badges end -->

Expand Down Expand Up @@ -122,3 +123,5 @@ $ npm test
[license-link]: LICENSE

[license-badge]: https://img.shields.io/github/license/form8ion/docker-nodejs.svg?logo=opensourceinitiative

[node-badge]: https://img.shields.io/node/v/@form8ion/docker-nodejs?logo=node.js
Loading

0 comments on commit 16fa21c

Please sign in to comment.