Bump http-proxy-middleware from 2.0.6 to 2.0.7 (#47) #254
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update Assets" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 1.x | |
- next | |
jobs: | |
update: | |
name: Update assets | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node 18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18.x' | |
- name: Setup CI Authentication | |
run: | | |
composer config http-basic.nova.laravel.com ${{ secrets.NOVA_USERNAME }} ${{ secrets.NOVA_PASSWORD }} | |
- name: Install Dependencies | |
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress | |
- name: Installed dependencies | |
run: composer show -D | |
- name: Install NPM on Laravel Nova | |
run: npm --prefix "./vendor/laravel/nova/" ci | |
- name: Compile Asset | |
run: | | |
npm ci | |
npm run production | |
env: | |
TAILWIND_MODE: build | |
- name: Copy language file | |
run: | | |
rm -Rf ./lang | |
cp -rf ./vendor/laravel/nova/resources/lang/ ./ | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Update Assets |