Skip to content

Semantic release

Semantic release #27

name: Semantic release
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * SUN"
permissions:
contents: write
issues: write
pull-requests: write
jobs:
semantic-release:
name: Semantic release
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node 💻
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: yarn
- name: Install dependencies 📦
run: yarn
- name: Release 🚀
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}