Skip to content

Commit abf4b20

Browse files
committed
Fix dependency installation for the publish action
1 parent 1e1dd06 commit abf4b20

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,16 @@ jobs:
1414
node-version: 20
1515
registry-url: "https://registry.npmjs.org"
1616
cache: "npm"
17+
- run: npm ci
18+
working-directory: client
19+
- run: npm ci
20+
working-directory: server
1721
- run: npm ci
1822
- run: npm run build
23+
- run: npx vsce publish -p ${{ secrets.VSCODE_MARKET_TOKEN }}
1924
- run: cp -r dist/server server/dist # Move server build into server dir
20-
- run: cd server
25+
- run: cp README.md server
2126
- run: npm publish --access public
27+
working-directory: ./server
2228
env:
2329
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
24-
- run: npx vsce publish -p ${{ secrets.VSCODE_MARKET_TOKEN }}

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# `@markdoc/language-server`
2-
31
This is the official Visual Studio Code extension and language server for the [Markdoc](https://markdoc.dev/) authoring framework.
42

53
When the language server and extension are used together and configured to load a Markdoc schema, they support the following features:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "@markdoc/language-support",
2+
"name": "markdoc-language-support",
33
"displayName": "Markdoc language support",
4-
"icon": "logo.png",
54
"private": true,
5+
"icon": "logo.png",
66
"preview": true,
77
"author": "Ryan Paul",
88
"publisher": "stripe",

0 commit comments

Comments
 (0)