From 5842d1e1e782b792ee7799eb02045de1449db0bb Mon Sep 17 00:00:00 2001 From: Sean McKenna Date: Fri, 8 Mar 2024 12:55:27 +0000 Subject: [PATCH] (CDPE-6560) Use new npm access token for publish (#654) --- .github/workflows/publish.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 31454850c..694d96b96 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,12 +21,17 @@ jobs: publish: needs: test runs-on: ubuntu-latest + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} steps: - name: Checkout uses: actions/checkout@v4 - name: Set Node version uses: actions/setup-node@v4 + with: + node-version: 12.4.0 + registry-url: https://registry.npmjs.org - name: Install all package dependencies run: npm install - name: Publish packages - run: npm run release + run: npm run publish