File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed
Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 5151 node-version-file : " .nvmrc"
5252 - uses : pnpm/action-setup@v4
5353 - run : pnpm install
54+ - run : pnpm exec playwright install --with-deps chromium
5455 - run : pnpm test:web
5556 package :
5657 runs-on : ubuntu-latest
6364 node-version-file : " .nvmrc"
6465 - uses : pnpm/action-setup@v4
6566 - run : pnpm install
66- - run : npx @vscode/vsce package
67+ - run : npx @vscode/vsce package --no-dependencies
6768 - run : echo "VSIX_PATH=$(find . -maxdepth 1 -type f -iname "*.vsix" | head -1)" >> $GITHUB_ENV
6869 - run : echo "VSIX_NAME=$(basename $(find . -maxdepth 1 -type f -iname "*.vsix" | head -1))" >> $GITHUB_ENV
6970 - uses : actions/upload-artifact@v4
9091 echo "is_prerelease=false" >> $GITHUB_OUTPUT
9192 fi
9293 - run : pnpm install
93- - run : npx @vscode/vsce package ${{ steps.check_prerelease.outputs.is_prerelease == 'true' && '--pre-release' || '' }}
94+ - run : npx @vscode/vsce package --no-dependencies ${{ steps.check_prerelease.outputs.is_prerelease == 'true' && '--pre-release' || '' }}
9495 - run : echo "VSIX_PATH=$(find . -maxdepth 1 -type f -iname "*.vsix" | head -1)" >> $GITHUB_ENV
9596 - run : echo "VSIX_NAME=$(basename $(find . -maxdepth 1 -type f -iname "*.vsix" | head -1))" >> $GITHUB_ENV
9697 - name : Create GitHub Release
@@ -109,4 +110,4 @@ jobs:
109110
110111 ---
111112 See the full [CHANGELOG](https://github.com/prettier/prettier-vscode/blob/main/CHANGELOG.md) for details."
112- - run : npx @vscode/vsce publish -p ${{ secrets.MARKETPLACE_TOKEN }} ${{ steps.check_prerelease.outputs.is_prerelease == 'true' && '--pre-release' || '' }}
113+ - run : npx @vscode/vsce publish --no-dependencies - p ${{ secrets.MARKETPLACE_TOKEN }} ${{ steps.check_prerelease.outputs.is_prerelease == 'true' && '--pre-release' || '' }}
Original file line number Diff line number Diff line change 9494 ]
9595 },
9696 "devDependencies" : {
97+ "@playwright/test" : " ^1.57.0" ,
9798 "@types/fs-extra" : " ^11.0.4" ,
9899 "@types/glob" : " ^7.2.0" ,
99100 "@types/minimatch" : " ^5.1.2" ,
You can’t perform that action at this time.
0 commit comments