diff --git a/.circleci/config.yml b/.circleci/config.yml index 60d973a4..3619ba6a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,6 +8,9 @@ palantir_aliases: version: 2.1 +orbs: + node: circleci/node@7.2.1 + commands: setup-npm-project: description: "Setup npm project - checkout code, set version, install dependencies and build" @@ -82,11 +85,13 @@ jobs: - image: cimg/node:22.14 steps: - setup-npm-project + - node/install: + node-version: '25.8.1' - run: name: Publish npm package command: | cd docs-snippets-npm - npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN + export NPM_ID_TOKEN=$(circleci run oidc get --claims '{"aud": "npm:registry.npmjs.org"}') npm publish --access=public circle-all: