mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-06-17 19:33:10 +10:00
Rewrite to TidalLuna of All Plugins
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
name: "Validate & Build"
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
Sanity:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install pnpm 📥
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: latest
|
||||
|
||||
- name: Install Node.js 📥
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
cache: pnpm
|
||||
node-version: latest
|
||||
|
||||
- name: Install dependencies 📥
|
||||
run: pnpm install
|
||||
|
||||
- name: Build
|
||||
run: pnpm run build
|
||||
|
||||
- name: Upload Build Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: luna-artifacts
|
||||
path: ./dist
|
||||
@@ -0,0 +1,32 @@
|
||||
name: "[master] Release"
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**/*.md"
|
||||
- ".vscode/**"
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
uses: ./.github/workflows/build.yml
|
||||
|
||||
Release:
|
||||
name: Release latest on GitHub
|
||||
needs: Build
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Download All Artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: luna-artifacts
|
||||
path: ./dist/
|
||||
|
||||
- name: Publish latest release on GitHub
|
||||
uses: marvinpinto/action-automatic-releases@latest
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
automatic_release_tag: latest
|
||||
prerelease: false
|
||||
title: Latest Release
|
||||
files: ./dist/**
|
||||
Reference in New Issue
Block a user