This repository has been archived by the owner on Jan 28, 2025. It is now read-only.
Update README.md : deprecation notice #72
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
name: CI | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on pull request events | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# After push/PR merge | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: gradle/gradle-build-action@v2 | |
name: Generate code | |
with: | |
arguments: compileKotlinJs -PenableKsp=true | |
- uses: gradle/gradle-build-action@v2 | |
name: Check - unit tests & code style | |
with: | |
arguments: check jsBrowserProductionLibraryDistribution | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Setup typescript & tools | |
run: | | |
cd samples | |
./setupNpm.sh | |
cd - | |
- name: Run integration tests | |
id: integration-test | |
run: | | |
cd samples | |
body=$(./_run.sh) | |
body="${body//$'\n'/%0A}" | |
echo "::set-output name=body::$body" | |
cd - | |
- uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
hide_and_recreate: true | |
hide_classify: "OUTDATED" | |
header: integration tests | |
message: ${{ steps.integration-test.outputs.body }} |