File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Fix npm dist-tags
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ fix-dist-tags :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Set up Node
11+ uses : actions/setup-node@v4
12+ with :
13+ node-version : 22
14+ registry-url : https://registry.npmjs.org
15+
16+ - name : Verify npm auth
17+ env :
18+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
19+ run : npm whoami
20+
21+ - name : Fix beta and latest dist-tags
22+ env :
23+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
24+ run : |
25+ npm dist-tag add hunkdiff@0.6.0-beta.2 beta
26+ npm dist-tag add hunkdiff@0.5.1 latest
27+
28+ npm dist-tag add hunkdiff-linux-x64@0.6.0-beta.2 beta
29+ npm dist-tag add hunkdiff-linux-x64@0.5.1 latest
30+
31+ npm dist-tag add hunkdiff-darwin-x64@0.6.0-beta.2 beta
32+ npm dist-tag add hunkdiff-darwin-x64@0.5.1 latest
33+
34+ npm dist-tag add hunkdiff-darwin-arm64@0.6.0-beta.2 beta
35+ npm dist-tag add hunkdiff-darwin-arm64@0.5.1 latest
You can’t perform that action at this time.
0 commit comments