Skip to content

Release app

Release app #6

Workflow file for this run

name: Release app
on:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os:
[
{ name: 'windows', image: 'windows-latest' },
{ name: 'macos-arm', image: 'macos-latest' },
{ name: 'macos-x86', image: 'macos-latest-large' }
]
runs-on: ${{ matrix.os.image }}
steps:
- name: Github checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
env:
VITE_CLOUDANT_URL: ${{ secrets.VITE_CLOUDANT_URL }}
VITE_CLOUDANT_API_KEY: ${{ secrets.VITE_CLOUDANT_API_KEY }}
- name: Package app
env:
VITE_CLOUDANT_URL: ${{ secrets.VITE_CLOUDANT_URL }}
VITE_CLOUDANT_API_KEY: ${{ secrets.VITE_CLOUDANT_API_KEY }}
run: npm run package
- name: Make app
env:
VITE_CLOUDANT_URL: ${{ secrets.VITE_CLOUDANT_URL }}
VITE_CLOUDANT_API_KEY: ${{ secrets.VITE_CLOUDANT_API_KEY }}
run: npm run make
- name: Publish app
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm run publish