Skip to content

ci: Add .deepsource.toml #17

ci: Add .deepsource.toml

ci: Add .deepsource.toml #17

Workflow file for this run

name: vsce Package
# Controls when the workflow will run
on:
push:
branches:
- master
pull_request:
release:
types: [created]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
tags:
description: "Tag Name"
required: false
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "package"
package:
name: package
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
- name: Install dependencies
run: npm ci
#- name: Build Grammar from yaml to json
# run: npm run bg
- name: Package web extension
run: npm run vscode:prepublish
- name: Install vsce
run: npm i -g @vscode/vsce
- name: run vsce package
run: npm run package
- name: Archive vsix production
uses: actions/upload-artifact@v3
with:
name: vsix production
path: ./*.vsix
if-no-files-found: error
- name: print tag
env:
TAGS: ${{ github.event.inputs.tags }}
run: |
echo "[$TAGS] build completed."