Skip to content

Commit cc8c69e

Browse files
committed
chore: add temporary npm dist-tag fix workflow
1 parent 2e28108 commit cc8c69e

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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 [email protected] beta
26+
npm dist-tag add [email protected] latest
27+
28+
npm dist-tag add [email protected] beta
29+
npm dist-tag add [email protected] latest
30+
31+
npm dist-tag add [email protected] beta
32+
npm dist-tag add [email protected] latest
33+
34+
npm dist-tag add [email protected] beta
35+
npm dist-tag add [email protected] latest

0 commit comments

Comments
 (0)