-
-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1155 from userfrosting/feature-assets-improvement…
…s-forever Misc. improvements to assets pipeline
- Loading branch information
Showing
16 changed files
with
198 additions
and
329 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
node-version: ^14.0.0 | ||
|
||
- name: Setup Redis-server | ||
uses: supercharge/[email protected] | ||
|
@@ -135,7 +135,7 @@ jobs: | |
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
node-version: ^14.0.0 | ||
|
||
- name: Setup Redis-server | ||
uses: supercharge/[email protected] | ||
|
@@ -217,7 +217,7 @@ jobs: | |
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
node-version: ^14.0.0 | ||
|
||
- name: Setup Redis-server | ||
uses: supercharge/[email protected] | ||
|
@@ -321,8 +321,8 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
php_versions: ['8.0'] | ||
node_versions: ['12.17.0', '14', '15'] | ||
php_versions: [ '8.0' ] | ||
node_versions: [ ^12.17.0, ^14, ^15 ] | ||
os: [ubuntu-latest, windows-latest] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
@@ -350,4 +350,24 @@ jobs: | |
run: composer install --prefer-dist --no-progress | ||
|
||
- name: Execute build | ||
run: php bakery build-assets | ||
run: php bakery build-assets | ||
|
||
Asset-Build-Inspect: | ||
|
||
name: Assets Build Inspection | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ^14.0.0 | ||
|
||
- name: Install Dependencies | ||
working-directory: build | ||
run: npm i | ||
|
||
- name: Type Validation | ||
working-directory: build | ||
run: node_modules/.bin/tsc -p ./tsconfig.json |
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
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
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
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
Oops, something went wrong.