Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies. #233

Merged
merged 6 commits into from
Nov 15, 2023
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
16 changes: 8 additions & 8 deletions .github/workflows/vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,33 +34,33 @@ jobs:
- name: Install dependencies
working-directory: ${{ env.vscode-dir }}
run: |
npm install
yarn install
sudo apt-get update
sudo apt-get install xvfb

- name: Lint
working-directory: ${{ env.vscode-dir }}
run: |
npm run lint
yarn run lint

- name: Test
working-directory: ${{ env.vscode-dir }}
env:
DISPLAY: ":99.0"
run: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
npm run ci-test
yarn run ci-test

- name: Compile
working-directory: ${{ env.vscode-dir }}
run: |
npm run compile-prod
yarn run compile-prod

- name: Build package
working-directory: ${{ env.vscode-dir }}
run: |
npm version ${{ steps.constants.outputs.version }} --allow-same-version
npm run package
yarn version --new-version ${{ steps.constants.outputs.version }} --allow-same-version
yarn run package
# The output of the 'run package' doesn't include the 'v' of the version.
# For simplicity just make a copy.
if [[ "${{ github.event_name }}" == "release" ]]; then
Expand All @@ -79,12 +79,12 @@ jobs:
env:
AZURE_TOKEN: ${{ secrets.VSCODE_AZURE_LEON_ACCESS_TOKEN }}
run:
npm run vsce-publish
yarn run vsce-publish

- name: Publish to open-vsx.org
working-directory: ${{ env.vscode-dir }}
if: github.event_name == 'release'
env:
OPEN_VSX_TOKEN: ${{ secrets.VSCODE_OPEN_VSX_TOKEN }}
run:
npm run ovsx-publish
yarn run ovsx-publish
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ coverage
# nyc test coverage
.nyc_output
junit.yaml
junit.xml

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
Expand Down
2 changes: 1 addition & 1 deletion vscode/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: compile",
"preLaunchTask": "npm: compile"
}
]
}
Loading