Skip to content

chore(deps): update all non-major dependencies (minor) #974

chore(deps): update all non-major dependencies (minor)

chore(deps): update all non-major dependencies (minor) #974

Workflow file for this run

name: build
on: [push, pull_request, workflow_dispatch]
env:
FORCE_COLOR: 3
jobs:
test:
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/main'
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- php: '8.1'
os: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16.13.2' # renovate:keep-up-to-date
- name: Install npm dependencies
run: npm ci
- name: Prettier
run: npm run prettier-check
- name: Lint
run: npm run tslint
- name: Build VS Code extension
run: npm run build
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer
- name: Composer Install
run: composer install --prefer-dist --no-interaction --optimize-autoloader
release:
runs-on: ubuntu-22.04
needs: test
if: github.repository_owner == 'zobo' && github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16.13.2' # renovate:keep-up-to-date
- name: Install npm dependencies
run: npm ci
- name: Build VS Code extension
run: npm run build
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: composer
- name: Composer Install
run: composer install --prefer-dist --no-interaction --optimize-autoloader
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}
OVSX_PAT: ${{ secrets.OVSX_PAT }}
run: npm run semantic-release