diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa9972c..f9e0f67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - - run: npm i -g npm@11.6.1 + - run: npm i -g npm@11.17.0 - run: npm ci - run: npm run check-node-version - run: npm run standards diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..21cdc29 --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +save-exact=true +min-release-age=7 +min-release-age-exclude=@silvermine/* diff --git a/.nvmrc b/.nvmrc index 0a49261..60ade1a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -24.11.0 +24.19.0 diff --git a/package.json b/package.json index 4480a5d..fab0841 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "module": "./dist/esm/index", "scripts": { "prepare": "grunt build", - "check-node-version": "check-node-version --npm 11.6.1 --print", + "check-node-version": "check-node-version --npm 11.17.0 --print", "test": "TS_NODE_PROJECT='tests/tsconfig.json' TS_NODE_FILES=true nyc mocha --opts ./.mocha.opts", "eslint": "eslint '{,!(node_modules|dist)/**/}*.{js,ts}'", "markdownlint": "markdownlint -c .markdownlint.json -i CHANGELOG.md '{,!(node_modules)/**/}*.md'",