1
0
mirror of https://github.com/kremalicious/astro-redirect-from.git synced 2024-11-24 11:01:42 +01:00

define Node.js version

This commit is contained in:
Matthias Kretschmann 2023-09-22 13:28:06 +01:00
parent fc9a840094
commit 659c0a0fc9
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 6 additions and 1 deletions

View File

@ -25,6 +25,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- run: npm ci
- run: npm test

2
.nvmrc
View File

@ -1 +1 @@
18
18.14.1

View File

@ -38,6 +38,10 @@
"peerDependencies": {
"astro": ">= 3"
},
"engines": {
"node": ">=18.14.1",
"npm": ">=6.14.0"
},
"release-it": {
"hooks": {
"before:init": "npm test",