File tree Expand file tree Collapse file tree 1 file changed +12
-18
lines changed Expand file tree Collapse file tree 1 file changed +12
-18
lines changed Original file line number Diff line number Diff line change 7
7
8
8
permissions :
9
9
contents : read
10
- packages : write
11
-
10
+ packages : write
11
+
12
12
jobs :
13
13
publish :
14
14
runs-on : ubuntu-latest
15
15
16
16
steps :
17
- - name : Checkout repository
17
+ - name : 📥 Checkout repository
18
18
uses : actions/checkout@v4
19
19
20
- - name : Setup pnpm
20
+ - name : 🧰 Setup pnpm
21
21
uses : pnpm/action-setup@v4
22
22
with :
23
23
version : 10.13.1
24
24
run_install : false
25
25
26
- - name : Setup Node.js (npmjs.org )
26
+ - name : 🔧 Setup Node.js (for npmjs)
27
27
uses : actions/setup-node@v4
28
28
with :
29
29
node-version : 18
30
30
registry-url : ' https://registry.npmjs.org/'
31
+ scope : ' @interactive-video-labs'
31
32
cache : ' pnpm'
32
33
33
- - name : Install dependencies
34
+ - name : 📦 Install dependencies
34
35
run : pnpm install
35
36
36
- - name : Build package
37
+ - name : 🛠 Build package
37
38
run : pnpm build
38
39
39
- - name : Publish to npmjs.org
40
- run : pnpm publish --access public --no-git-checks
40
+ - name : 🚀 Publish to npmjs
41
+ run : pnpm publish --access public --no-git-checks --registry=https://registry.npmjs.org/
41
42
env :
42
43
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
43
44
44
- - name : Set up Node.js for GitHub Packages
45
- uses : actions/setup-node@v4
46
- with :
47
- node-version : 18
48
- registry-url : ' https://npm.pkg.github.com/'
49
- scope : ' @interactive-video-labs'
50
-
51
- - name : Publish to GitHub Packages
52
- run : pnpm publish --no-git-checks
45
+ - name : 🚀 Publish to GitHub Packages
46
+ run : pnpm publish --no-git-checks --registry=https://npm.pkg.github.com/
53
47
env :
54
48
NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments