Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,16 @@ jobs:
name: cml-language-server
path: ./cml-ls/

- name: Setup .npmrc
run: echo "@lstreckeisen:registry=https://npm.pkg.github.com\n//npm.pkg.github.com/:_authToken=\${{ secrets.NPM_PUBLISH_TOKEN }}" > ~/.npmrc
working-directory: cml-ls
- name: Prepare publication
if: github.event_name == 'release' # Publish only on release creation
run: |
cp cml-ls.package.json cml-ls/package.json
cp .yarnrc.yml cml-ls/.yarnrc.yml
sed -i -e 's/<TOKEN>/${{ secrets.GITHUB_TOKEN }}/g' cml-ls/.yarnrc.yml
cp -r .yarn cml-ls/.yarn
touch cml-ls/yarn.lock

- name: Publish to GitHub Package Registry
if: github.event_name == 'release' # Publish only on release creation
run: yarn publish --access public
run: yarn npm publish
working-directory: cml-ls
Binary file added .yarn/install-state.gz
Binary file not shown.
935 changes: 935 additions & 0 deletions .yarn/releases/yarn-4.8.1.cjs

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
nodeLinker: node-modules

npmAlwaysAuth: true

npmAuthToken: <TOKEN>

npmPublishAccess: public

npmPublishRegistry: "https://npm.pkg.github.com"

npmScopes:
lstreckeisen:
npmAlwaysAuth: true
npmAuthToken: <TOKEN>
npmPublishRegistry: "https://npm.pkg.github.com/lstreckeisen"

yarnPath: .yarn/releases/yarn-4.8.1.cjs
3 changes: 2 additions & 1 deletion cml-ls.package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"type": "url",
"url": "https://github.com/lstreckeisen/context-mapper-language-server.git"
},
"main": ".index.js"
"main": "index.js",
"packageManager": "yarn@4.8.1"
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@
"langium-cli": "~3.4.0",
"typescript": "~5.1.6",
"vitest": "~1.4.0"
}
},
"packageManager": "yarn@4.8.1"
}
8,110 changes: 4,971 additions & 3,139 deletions yarn.lock

Large diffs are not rendered by default.