Skip to content

Commit

Permalink
ci: fix prune tags action
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Oct 15, 2023
1 parent cb1992e commit d5e1857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prune-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- name: Prune tags
run: npm view --json | jq -r '.["dist-tags"] | to_entries | .[] | select(.key != "latest") | select(.key != "main") | select(.key != "next") | .key' | xargs -I % npm dist-tag rm viem %
run: cd src && npm view --json | jq -r '.["dist-tags"] | to_entries | .[] | select(.key != "latest") | select(.key != "main") | select(.key != "alpha") | .key' | xargs -I % npm dist-tag rm viem %
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit d5e1857

Please sign in to comment.