diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ded43da5..6e602bfc 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: 'lts/*'}, + {os: ubuntu-latest, node: '^24.19.0'}, ] runs-on: ${{ matrix.variations.os }} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e49cbcb0..81561cbc 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -42,13 +42,9 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 24.x + node-version: '^24.19.0' registry-url: 'https://registry.npmjs.org' - - name: Update NPM - shell: bash - # Must be greater than 11.5.1 for OIDC. - run: npm install -g npm@11.6.2 - name: Install Dependencies run: npm install @@ -81,13 +77,9 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 24.x + node-version: '^24.19.0' registry-url: 'https://registry.npmjs.org' - - name: Update NPM - shell: bash - # Must be greater than 11.5.1 for OIDC. - run: npm install -g npm@11.6.2 - name: Install Dependencies run: npm install diff --git a/.gitignore b/.gitignore index 2c182bff..07d55e56 100644 --- a/.gitignore +++ b/.gitignore @@ -14,5 +14,4 @@ docs/build/ yarn.lock package-lock.json pnpm-lock.yaml -.npmrc docs/ diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..84fc16c6 --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +min-release-age=3 +min-release-age-exclude[]=launchdarkly-js-client-sdk +min-release-age-exclude[]=launchdarkly-js-sdk-common