Skip to content

Commit 2b185eb

Browse files
authored
Merge pull request #3 from startracex/dev
Update: workflows
2 parents b7d1f33 + c9b8ba4 commit 2b185eb

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

.github/workflows/frontend.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
branches:
9-
- main
7+
paths:
8+
- 'js/**'
109

1110
jobs:
1211
build:
@@ -25,23 +24,11 @@ jobs:
2524
with:
2625
version: 8
2726

28-
- name: Setup PHP
29-
uses: shivammathur/setup-php@v2
30-
with:
31-
php-version: "8.2"
32-
extensions: curl, dom, gd, json, mbstring, openssl, pdo_mysql, tokenizer, zip
33-
tools: composer:v2
34-
35-
- name: Install Composer dependencies
36-
run: composer install
37-
working-directory: .
38-
3927
- name: Install JS dependencies
4028
run: pnpm install
4129
working-directory: ./js
4230

43-
- name: JS Checks & Production Build
44-
if : ${{ github.event_name == 'push' }}
31+
- name: Build
4532
uses: flarum/action-build@v3
4633
with:
4734
github_token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ Thumbs.db
55
node_modules
66
bower_components
77
.idea
8-
.floo*
98
composer.lock

0 commit comments

Comments
 (0)