New translations ui.json (Polish) #9806
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: Build module artifact & deploy | |
on: [push, pull_request] | |
env: | |
PNPM_VERSION: 8 | |
NODE_VERSION: 20 | |
jobs: | |
build: | |
name: Build dependencies & create artifact | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: ${{ env.PNPM_VERSION }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: pnpm | |
cache-dependency-path: '_dev/pnpm-lock.yaml' | |
- name: Install & build | |
working-directory: _dev | |
run: | | |
pnpm install | |
pnpm -r build | |
- name: Install dev composer dependencies | |
run: composer install | |
- name: Generate index.php | |
run: vendor/bin/autoindex | |
- name: Install prod composer dependencies | |
run: composer install --no-dev | |
- name: Clean-up project | |
uses: PrestaShopCorp/[email protected] | |
- name: Create directory with repo name and copy files | |
run: | | |
repo_name="${{ github.event.repository.name }}" | |
mkdir "$repo_name" | |
shopt -s dotglob nullglob | |
for file in *; do | |
if [ "$file" != "$repo_name" ]; then | |
mv "$file" "$repo_name/" | |
fi | |
done | |
- name: Create & upload artifact | |
uses: actions/[email protected] | |
with: | |
name: ${{ github.event.repository.name }} | |
path: '.' | |
include-hidden-files: true |