Skip to content

Commit

Permalink
Ci 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kostya Bats committed Oct 24, 2024
1 parent f07ec0e commit 21dcaa2
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Release grabber

on:
pull_request:
types:
- opened
- synchronize

jobs:
build_linux:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4

- name: Install agent dependencies
working-directory: ./packages/grabber
run: npm ci

- name: Run agent build
working-directory: .
run: |
grabber_build.sh linux x64
ls ./packages/grabber/build
build_windows:
runs-on: windows-10
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3

- uses: actions/setup-node@v4

- name: Install agent dependencies
working-directory: .\packages\grabber
run: npm ci

- name: Run agent build
working-directory: .
shell: cmd
run: |
grabber_build_win64.bat
dir .\packages\grabber\build\
# - name: Assemble with Gradle
# env:
# CHROME_BIN: C:\soft\GoogleChromePortable\GoogleChromePortable.exe
# run: .\gradlew.bat assemble
# - name: Warm up js browser
# shell: cmd
# env:
# CHROME_BIN: C:\soft\GoogleChromePortable\GoogleChromePortable.exe
# run: gradlew.bat jsBrowserTest || exit 0
# - name: Test with Gradle
# env:
# CHROME_BIN: C:\soft\GoogleChromePortable\GoogleChromePortable.exe
# run: .\gradlew.bat check
# - name: Upload check reports
# uses: actions/upload-artifact@v3
# if: always()
# with:
# name: build-reports-win
# path: build/reports/
# retention-days: 1

0 comments on commit 21dcaa2

Please sign in to comment.