Skip to content

Merge pull request #99 from AdrianDsg/adriandsg-enhance-contents #139

Merge pull request #99 from AdrianDsg/adriandsg-enhance-contents

Merge pull request #99 from AdrianDsg/adriandsg-enhance-contents #139

Workflow file for this run

name: build-artifact
on:
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
cache: yarn
- name: Install
run: yarn install
- name: Pacth
run: ./scripts/fix-eslint-strip-ansi.sh
- name: Lint
run: yarn run lint:eslint
- name: Build
run: yarn run build
- name: Build npm package and Visual Studio Code package
run: bash ./scripts/vsce.sh build-vsix-and-list
- uses: actions/upload-artifact@v4
with:
name: vscode-extension
path: |
artifacts/vscode/*.vsix
artifacts/vscode/*.list
- uses: actions/upload-artifact@v4
with:
name: npm-package
path: |
artifacts/npm/*.tgz
artifacts/npm/*.list