Update changelog #71
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: Production | |
on: | |
push: | |
branches: [production] | |
env: | |
PHP_VERSION: "8.2" | |
NODE_VERSION: "20" | |
jobs: | |
pre-release: | |
name: "Pre Release" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ env.PHP_VERSION }} | |
- name: Install Dependencies | |
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist --optimize-autoloader --no-dev | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- run: npm ci | |
- run: npm run build | |
- name: Archive Release | |
uses: thedoctor0/zip-release@master | |
with: | |
type: "zip" | |
filename: "dist.zip" | |
exclusions: "*.git* /*node_modules/* .editorconfig .vscode/ .eslintrc.js .styleci.yml" | |
- name: Publish latest release | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: true | |
title: "Development Build" | |
files: | | |
*.md | |
*.zip |