Files
vscode-front-matter/.github/workflows/release-beta.yml
T
2023-09-07 16:56:05 +02:00

33 lines
774 B
YAML

name: BETA Release
on:
push:
branches:
- dev
workflow_dispatch:
jobs:
build:
name: 'Build and release'
runs-on: ubuntu-latest
environment:
name: Beta
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: Install the dependencies
run: npm i
- name: Prepare BETA
run: node scripts/beta-release.js $GITHUB_RUN_ID
- name: Publish
run: npx @vscode/vsce publish -p ${{ secrets.VSCE_PAT }} --baseImagesUrl https://raw.githubusercontent.com/estruyf/vscode-front-matter/dev
- name: Publish to open-vsx.org
run: npx ovsx publish -p ${{ secrets.OPEN_VSX_PAT }}