Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Improved npm install command in deploy scripts #20

Improved npm install command in deploy scripts

Improved npm install command in deploy scripts #20

name: Update translations
on: [push]
jobs:
update-translations:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3.5.2
with:
ref: ${{ github.head_ref }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
extensions: dom, curl, libxml, mbstring, zip
ini-values: error_reporting=E_ALL
tools: composer:v2
coverage: none
- name: Setup app
run: composer install --prefer-dist --no-interaction --no-progress
- name: Update translations
run: php artisan translator:update
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update translations