-
Notifications
You must be signed in to change notification settings - Fork 134
47 lines (37 loc) · 911 Bytes
/
package.yml
File metadata and controls
47 lines (37 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Build and upload package
on:
push:
branches:
- dev
paths:
- '.github/workflows/package.yml'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v6
with:
submodules: true
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
- name: Setup Node.js
uses: actions/setup-node@v6
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@v7
with:
name: photobooth
path: archives/photobooth-*.zip
- name: Remove archives folder
run: rm -rf archives