Skip to content

Bump express from 4.18.2 to 4.19.2 #136

Bump express from 4.18.2 to 4.19.2

Bump express from 4.18.2 to 4.19.2 #136

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Node.js 16.x
uses: actions/setup-node@v3.5.1
with:
node-version: 16.x
- name: Install Yarn Dependencies
uses: borales/actions-yarn@v4
with:
cmd: install
- name: Build Frontend
uses: borales/actions-yarn@v4
with:
cmd: prod
- name: Install Composer Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Prepare Laravel Application
run: |
cp .env.example .env
php artisan key:generate
- name: Run Test Suite
run: php artisan test
deploy:
runs-on: ubuntu-latest
needs: build-and-test
if: github.ref == 'refs/heads/main'
steps:
- name: Deploy to Laravel Forge
run: curl ${{ secrets.FORGE_DEPLOYMENT_WEBHOOK }}