Bump @typescript-eslint/eslint-plugin in /src/language-service #10784
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: VS Code Extension | |
on: [push, pull_request] | |
jobs: | |
vscode-extension: | |
name: VS Code Extension | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⤵️ Check out code from GitHub | |
uses: actions/checkout@v4 | |
- name: 🏗 Set up NodeJS | |
uses: actions/setup-node@v4.1.0 | |
with: | |
node-version: "18" | |
- name: 🏗 Install NodeJS packages | |
run: npm install | |
- name: 🚀 Run Linter | |
run: npm run lint | |
- name: 🚀 Build Schema | |
run: npm run schema | |
- name: 🚀 Run Compile | |
run: npm run compile | |
- name: 🚀 VSCode Marketplace Publish | |
if: success() && github.ref == 'refs/heads/master' | |
run: | | |
npm install -g @vscode/vsce | |
vsce publish -p $VSCE_TOKEN | |
vsce package -o vscode-home-assistant.vsix | |
env: | |
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} | |
- name: 🚀 Open VSX Publish | |
uses: HaaLeo/publish-vscode-extension@v1 | |
if: success() && github.ref == 'refs/heads/master' | |
with: | |
pat: ${{ secrets.OPEN_VSX_TOKEN }} | |
extensionFile: vscode-home-assistant.vsix | |
registryUrl: https://open-vsx.org |