Skip to content

fix(addDestructure): support call expression argument destructuring #348

fix(addDestructure): support call expression argument destructuring

fix(addDestructure): support call expression argument destructuring #348

Workflow file for this run

name: Pull Request CI
on:
pull_request:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
fail-fast: true
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- run: npx prettier --check "{src,typescript}/**/*.ts" --ignore-path .gitignore
- uses: pnpm/action-setup@v4
with:
run_install: |
args: [--frozen-lockfile, --strict-peer-dependencies]
- run: pnpm lint
- run: pnpm vscode-utils prepareFrameworkBuild
- run: pnpm build
- run: timeout 60 pnpm test-plugin
if: ${{ runner.os != 'Windows' }}
# if command with timeout already failed on unix, Windows job will be cancelled
- run: pnpm test-plugin
if: ${{ runner.os == 'Windows' }}
- run: cd out && npx @vscode/vsce package --out ../extension.vsix
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: extension
path: |
extension.vsix