-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1007 Bytes
/
Copy pathrelease-validation.yml
File metadata and controls
42 lines (35 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Release Validation
on:
workflow_call:
permissions:
contents: read
jobs:
validate:
name: Release-ready validation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.4"
tools: composer
extensions: intl, mbstring, pdo_sqlite, sqlite3
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: "24"
cache: npm
- name: Install dependencies
run: |
composer install --no-interaction --no-progress --prefer-dist
npm ci --no-audit --fund=false
- name: Validate release
env:
APP_KEY: base64:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
run: |
npm run build
php artisan test
composer audit --no-interaction --abandoned=report
npm audit --omit=dev --audit-level=high