mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
ci: first pass at ci builds
This commit is contained in:
parent
1f8596ccb9
commit
2984747d4e
31
.github/workflows/build.yml
vendored
Normal file
31
.github/workflows/build.yml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: 'master'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set Node.js 18.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.x
|
||||
|
||||
- name: Get JS deps
|
||||
uses: borales/actions-yarn@v4
|
||||
with:
|
||||
cmd: install
|
||||
|
||||
- name: Get Composer deps
|
||||
uses: php-actions/composer@v6
|
||||
with:
|
||||
command: install
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: '.'
|
||||
Loading…
Reference in New Issue
Block a user