Skip to content

Release app

Release app #3

Workflow file for this run

name: Release app
on:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os:
[
{ name: 'linux', image: 'ubuntu-latest' },
{ name: 'windows', image: 'windows-latest' },
{ name: 'macos', image: 'macos-latest' },
]
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