Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlovdog committed Nov 29, 2024
1 parent fb1488c commit 28008af
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/on-push-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
8 changes: 4 additions & 4 deletions .github/workflows/prune-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -54,15 +54,15 @@ 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)
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)
Expand All @@ -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 }}

0 comments on commit 28008af

Please sign in to comment.