File tree Expand file tree Collapse file tree 7 files changed +5936
-3145
lines changed Expand file tree Collapse file tree 7 files changed +5936
-3145
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,16 @@ jobs:
6060 name : cml-language-server
6161 path : ./cml-ls/
6262
63- - name : Setup .npmrc
64- run : echo "@lstreckeisen:registry=https://npm.pkg.github.com\n//npm.pkg.github.com/:_authToken=\${{ secrets.NPM_PUBLISH_TOKEN }}" > ~/.npmrc
65- working-directory : cml-ls
63+ - name : Prepare publication
64+ if : github.event_name == 'release' # Publish only on release creation
65+ run : |
66+ cp cml-ls.package.json cml-ls/package.json
67+ cp .yarnrc.yml cml-ls/.yarnrc.yml
68+ sed -i -e 's/<TOKEN>/${{ secrets.GITHUB_TOKEN }}/g' cml-ls/.yarnrc.yml
69+ cp -r .yarn cml-ls/.yarn
70+ touch cml-ls/yarn.lock
6671
6772 - name : Publish to GitHub Package Registry
6873 if : github.event_name == 'release' # Publish only on release creation
69- run : yarn publish --access public
74+ run : yarn npm publish
7075 working-directory : cml-ls
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ nodeLinker : node-modules
2+
3+ npmAlwaysAuth : true
4+
5+ npmAuthToken : <TOKEN>
6+
7+ npmPublishAccess : public
8+
9+ npmPublishRegistry : " https://npm.pkg.github.com"
10+
11+ npmScopes :
12+ lstreckeisen :
13+ npmAlwaysAuth : true
14+ npmAuthToken : <TOKEN>
15+ npmPublishRegistry : " https://npm.pkg.github.com/lstreckeisen"
16+
17+ yarnPath : .yarn/releases/yarn-4.8.1.cjs
Original file line number Diff line number Diff line change 1414 "type" : " url" ,
1515 "url" : " https://github.com/lstreckeisen/context-mapper-language-server.git"
1616 },
17- "main" : " .index.js"
17+ "main" : " index.js" ,
18+ "packageManager" : " yarn@4.8.1"
1819}
Original file line number Diff line number Diff line change 4747 "langium-cli" : " ~3.4.0" ,
4848 "typescript" : " ~5.1.6" ,
4949 "vitest" : " ~1.4.0"
50- }
50+ },
51+ "packageManager" : " yarn@4.8.1"
5152}
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments