Skip to content

Bundle and release

Bundle and release #3

Workflow file for this run

name: Bundle and release
on:
push:
tags:
- "v*"
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout theme
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Install dependencies
run: pnpm install
- name: Build and bundle all snippets
run: pnpm run build:asar --all
- name: Release bundled asars and jsons
uses: ncipollo/release-action@v1
with:
artifacts: "bundle/*"
makeLatest: true
generateReleaseNotes: true