-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump versions and revert to ktlint * Close #29 nested PackageJson template merging * GH check action
- Loading branch information
Showing
34 changed files
with
2,885 additions
and
789 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 |
---|---|---|
@@ -0,0 +1,87 @@ | ||
name: Check | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '**' | ||
workflow_dispatch: | ||
|
||
env: | ||
GRADLE_OPTS: "-Dorg.gradle.daemon=false" | ||
|
||
jobs: | ||
check: | ||
name: Check on ubuntu-latest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: 11 | ||
|
||
- name: Restore Gradle cache | ||
id: cache | ||
uses: actions/[email protected] | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
~/.gradle/yarn | ||
~/.gradle/nodejs | ||
~/.konan | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: ${{ runner.os }}-gradle- | ||
|
||
- name: Gradle Check | ||
run: ./gradlew check --scan | ||
|
||
- name: Gradle Assemble | ||
run: ./gradlew assemble --scan | ||
|
||
- uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
name: reports-${{ runner.os }} | ||
path: | | ||
**/build/reports | ||
- name: Gradle Check Sandbox | ||
working-directory: sandbox | ||
run: ./gradlew check --scan | ||
|
||
- name: Gradle Assemble | ||
working-directory: sandbox | ||
run: ./gradlew assemble pack --scan | ||
|
||
- uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
name: sandbox-${{ runner.os }} | ||
path: | | ||
sandbox/**/build/reports | ||
sandbox/**/build/publications | ||
- name: ts-consumer Install | ||
working-directory: sandbox/ts-consumer | ||
run: yarn install | ||
|
||
- name: ts-consumer Build | ||
working-directory: sandbox/ts-consumer | ||
run: yarn build | ||
|
||
- name: ts-consumer Run | ||
working-directory: sandbox/ts-consumer | ||
run: yarn start | ||
|
||
- uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
name: ts-consumer-${{ runner.os }} | ||
path: | | ||
sandbox/ts-consumer/build | ||
sandbox/ts-consumer/node_modules/@mpetuska |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.