forked from laravel/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 796 Bytes
/
update-assets.yml
File metadata and controls
34 lines (27 loc) · 796 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
name: 'update assets'
on:
push:
branches:
- '12.x'
paths:
- '/src/Illuminate/Foundation/resources/exceptions/renderer/package-lock.json'
workflow_dispatch:
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Update Exception Renderer Assets
run: |
npm ci --prefix "./src/Illuminate/Foundation/resources/exceptions/renderer"
npm run build --prefix "./src/Illuminate/Foundation/resources/exceptions/renderer"
- name: Commit Compiled Files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update Assets