1
0
mirror of synced 2026-01-05 03:04:38 -05:00
Files
airbyte/.github/workflows/fe-validate-links.yml
Tim Roes fe7e1c2272 Upgrade node to latest LTS (#13683)
* Upgrade node to latest LTS

* Upgrade to newer setup-node action
2022-06-10 17:07:57 +02:00

50 lines
1.8 KiB
YAML

name: Frontend Link Validation
on:
workflow_dispatch:
schedule:
- cron: '0 14 * * *'
jobs:
validate-frontend-links:
name: "Validate frontend links"
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout Airbyte
uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: "17"
- uses: actions/setup-node@v2
with:
node-version: "lts/gallium"
- name: Set up CI Gradle Properties
run: |
mkdir -p ~/.gradle/
cat > ~/.gradle/gradle.properties <<EOF
org.gradle.jvmargs=-Xmx8g -Xss4m --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
org.gradle.workers.max=8
org.gradle.vfs.watch=false
EOF
- name: Run :airbyte-webapp:validateLinks
run: SUB_BUILD=PLATFORM ./gradlew --no-daemon :airbyte-webapp:validateLinks --scan
- name: Publish Failures to dev-frontend channel
uses: abinoda/slack-action@master
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN_AIRBYTE_TEAM }}
with:
args: >-
{\"channel\":\"C03088BTMFC\", \"blocks\":[
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\":alarm: The periodic link validation failed!\n\n\"}},
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"See details on <https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}|GitHub>\n\"}}]}