File tree Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish package to GitHub Packages
2
+ on :
3
+ release :
4
+ types : [published]
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ permissions :
9
+ contents : read
10
+ packages : write
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-node@v4
14
+ with :
15
+ node-version : " 20.x"
16
+ registry-url : " https://npm.pkg.github.com"
17
+ scope : " @acm-uiuc"
18
+ - run : yarn build
19
+ - run : yarn publish
20
+ env :
21
+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ # ACM UIUC shared JS constants
Original file line number Diff line number Diff line change 22
22
"packageManager" :
" [email protected] +sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" ,
23
23
"devDependencies" : {
24
24
"typescript" : " ^5.8.3"
25
+ },
26
+ "publishConfig" : {
27
+ "registry" : " https://npm.pkg.github.com"
25
28
}
26
- }
29
+ }
You can’t perform that action at this time.
0 commit comments