Skip to content

Release

Release #11531

Workflow file for this run

name: Release
on:
push:
branches:
- master
schedule:
- cron: "*/30 * * * *"
jobs:
release:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use PNPM
uses: pnpm/action-setup@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: none
tools: composer
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Install Dependencies
run: |
pnpm add -g @vscode/vsce ovsx
pnpm i
- name: Build
run: pnpm build
- name: Run release script
run: npx tsx ./scripts/release.mts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
OVSX_TOKEN: ${{ secrets.OVSX_TOKEN }}