Skip to content

Build and upload package #52

Build and upload package

Build and upload package #52

Workflow file for this run

name: Build and upload package
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: true
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install modules
run: npm install
- name: Build
run: npm run build
- name: Pack zip
run: npm run pack:build
- name: Publish zip
uses: actions/upload-artifact@v4
with:
name: photobooth
path: archives/photobooth-*.zip
- name: Remove archives folder
run: rm -rf archives