Initial commit of release.yml

This commit is contained in:
utleysam 2026-06-04 21:59:59 -06:00 committed by GitHub
parent 1ec164583f
commit f3b0208c13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

34
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,34 @@
name: Release Codeblock CRBasic Obsidian Plugin
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "18.x"
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Build plugin
run: npm run build
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: |
main.js
manifest.json
styles.css