Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

feat: add contribution guidelines, issue templates, and CI/CD workflows #1

feat: add contribution guidelines, issue templates, and CI/CD workflows

feat: add contribution guidelines, issue templates, and CI/CD workflows #1

Workflow file for this run

name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: [18.x, 20.x]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
- name: Run compile
run: npm run compile
- name: Run tests
uses: coactions/setup-xvfb@v1
with:
run: npm test
package:
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Package extension
run: |
npm install -g @vscode/vsce
vsce package
- name: Upload VSIX artifact
uses: actions/upload-artifact@v4
with:
name: vscode-ddev-phpstan-${{ github.sha }}
path: '*.vsix'
retention-days: 30