From 28008af9547c5bc0e49b95ab1c95e958374e4b02 Mon Sep 17 00:00:00 2001 From: Sergey Potekhin Date: Fri, 29 Nov 2024 12:21:17 +0400 Subject: [PATCH] Update CI --- .github/workflows/canary.yml | 2 +- .github/workflows/on-push-to-main.yml | 2 +- .github/workflows/prune-tags.yml | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 8c4a362..8c61a2c 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -35,4 +35,4 @@ jobs: - name: Publish @pimlico/webhook to npm run: cd packages/webhook && npm publish --tag $(git branch --show-current | tr -cs '[:alnum:]-' '-' | tr '[:upper:]' '[:lower:]' | sed 's/-$//') env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_PIMLICO_UTILITIES_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_PIMLICO_UTILS_TOKEN }} diff --git a/.github/workflows/on-push-to-main.yml b/.github/workflows/on-push-to-main.yml index 5ba7527..1af0a33 100644 --- a/.github/workflows/on-push-to-main.yml +++ b/.github/workflows/on-push-to-main.yml @@ -57,4 +57,4 @@ jobs: publish: bun run changeset:release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_ORG_PIMLICO_UTILITIES_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_ORG_PIMLICO_UTILS_TOKEN }} diff --git a/.github/workflows/prune-tags.yml b/.github/workflows/prune-tags.yml index d0434f6..4eb8b59 100644 --- a/.github/workflows/prune-tags.yml +++ b/.github/workflows/prune-tags.yml @@ -28,7 +28,7 @@ jobs: npm view $PACKAGE_NAME dist-tags --json | jq -r 'to_entries | .[] | select(.key != "latest") | select(.key != "main") | select(.key != "next") | .key' | xargs -I % npm dist-tag rm $PACKAGE_NAME % working-directory: packages/webhook env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_PIMLICO_UTILITIES_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_PIMLICO_UTILS_TOKEN }} - name: Deprecate @pimlico/webhook canary versions working-directory: packages/webhook @@ -54,7 +54,7 @@ jobs: fi done env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_PIMLICO_UTILITIES_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_PIMLICO_UTILS_TOKEN }} run: | PACKAGE_NAME=$(jq -r '.name' package.json) @@ -62,7 +62,7 @@ jobs: npm view $PACKAGE_NAME dist-tags --json | jq -r 'to_entries | .[] | select(.key != "latest") | select(.key != "main") | select(.key != "next") | .key' | xargs -I % npm dist-tag rm $PACKAGE_NAME % working-directory: packages/webhook env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_PIMLICO_UTILITIES_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_PIMLICO_UTILS_TOKEN }} run: | PACKAGE_NAME=$(jq -r '.name' package.json) @@ -86,4 +86,4 @@ jobs: fi done env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_PIMLICO_UTILITIES_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_PIMLICO_UTILS_TOKEN }}