Bundle and release #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |