diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64ac8d6..ba81a49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: matrix: variations: [ {os: ubuntu-latest, node: latest}, - {os: ubuntu-latest, node: 18} + {os: ubuntu-latest, node: 20} ] runs-on: ${{ matrix.variations.os }} @@ -29,6 +29,8 @@ jobs: with: node-version: ${{ matrix.variations.node }} registry-url: 'https://registry.npmjs.org' + - name: Use npm version supporting min-release-age + run: npm install -g npm@^11.9.1 - name: Install run: npm install - name: Test diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..ec9e05d --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +min-release-age=3