chore(deps): update dependency typescript to v5.6.3 #1044
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out jbang-vscode | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
path: jbang-vscode | |
- name: Check out jbang-eclipse | |
uses: actions/checkout@v4 | |
with: | |
repository: jbangdev/jbang-eclipse | |
fetch-depth: 0 | |
path: jbang-eclipse | |
- name: Set Up NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: Set Up Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
cache: "maven" | |
- name: Install requirements | |
working-directory: ./jbang-vscode | |
run: | | |
npm ci | |
npm install -g typescript "@vscode/vsce" | |
- name: Build server | |
working-directory: ./jbang-vscode | |
run: npm run build-ext | |
- name: Build vsix | |
working-directory: ./jbang-vscode | |
run: | | |
node ./scripts/create-package-insiders-json.js | |
mv ./package.insiders.json ./package.json | |
vsce package --pre-release | |
- name: Upload vsix | |
uses: actions/upload-artifact@v4 | |
with: | |
name: jbang-vscode | |
path: jbang-vscode/*.vsix | |
- name: Upload latest vsix | |
if: github.ref == 'refs/heads/main' | |
uses: marvinpinto/action-automatic-releases@latest | |
with: | |
repo_token: "${{secrets.GITHUB_TOKEN}}" | |
automatic_release_tag: "latest" | |
prerelease: true | |
title: "Development Build" | |
files: | | |
jbang-vscode/*.vsix | |
- name: Publish to Open VSX Marketplace | |
if: github.ref == 'refs/heads/main' | |
working-directory: ./jbang-vscode | |
run: | | |
npx ovsx publish --pre-release -p $OVSX_TOKEN | |
env: | |
OVSX_TOKEN: ${{ secrets.OPENVSX_MARKETPLACE_TOKEN }} | |
- name: Publish to VSCode Marketplace | |
if: github.ref == 'refs/heads/main' | |
working-directory: ./jbang-vscode | |
run: | | |
npx vsce publish --pre-release -p $VSCE_TOKEN | |
env: | |
VSCE_TOKEN: ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} |