dev: enable npm config engine-strict (#197)

* dev: enable engine-strict to enforce specified npm/node min versions

* dev: update npm min version from v7.0.0 to v8.0.0

* dev: update node min version from v16.0.0 to v16.11.0
This commit is contained in:
Thebora Kompanioni 2022-04-04 09:30:42 +02:00 committed by GitHub
parent 6c5e149516
commit f32e95ac8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View file

@ -14,14 +14,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
node-version: ['16.11.0']
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
# Setup Node
- name: Setup (Node.js ${{ matrix.node-version }})
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# Install

1
.npmrc
View file

@ -1 +1,2 @@
git-tag-version = false
engine-strict = true

View file

@ -6,8 +6,8 @@
"repository": "git@github.com:joinmarket-webui/joinmarket-webui.git",
"license": "MIT",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
"node": ">=16.11.0",
"npm": ">=8.0.0"
},
"homepage": ".",
"devDependencies": {