Skip to content

UPdate Basee

UPdate Basee #12

Workflow file for this run

name: Build with Tag
on:
push:
on:

Check failure on line 6 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
# - name: Set up PHP
# uses: shivammathur/setup-php@v2
# with:
# php-version: '8.2'
#
# - name: Install Composer dependencies
# run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Build assets
run: cd themes/user/app; pnpm install; pnpm run build;
- name: Archive build artifacts
run: |
grep composer.json | xargs rm
grep composer.lock | xargs rm
zip -r ../release.zip .