Skip to content

chore: use vite

chore: use vite #55

Workflow file for this run

name: Build plugin
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "*" # Push events to matching any tag format, i.e. 1.0, 20.15.10
env:
PLUGIN_NAME: ${{ github.event.repository.name }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20"
- run: npm ci
- run: npm run build
- uses: montudor/action-zip@v1
with:
args: zip -qq -r ${{env.PLUGIN_NAME}}.zip dist README.md package.json LICENSE icon.png demo.gif
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}