diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..388526c3 --- /dev/null +++ b/.github/workflows/build.yml @@ -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: '.'