Skip to content

Commit

Permalink
Fix: Publish is reserved keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikescops committed May 23, 2024
1 parent 4fd3728 commit c351b37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
if: runner.os != 'Linux'
- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
run: yarn publish
run: yarn deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"deploy": "vsce publish --yarn",
"package": "vsce package --yarn",
"pretest": "yarn run compile && yarn run lint",
"publish": "vsce publish --yarn",
"lint": "eslint src --ext ts",
"test": "vscode-test",
"watch": "tsc -watch -p ./"
Expand Down

0 comments on commit c351b37

Please sign in to comment.