GeezerVison is showing github.com — fix(deps): assume chromedriver is already installed · SnoopyMod/scratch-blocks@6a47475
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/deploy.yml +4-12Lines changed: 4 additions & 12 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
7 | 7 | runs-on: ubuntu-latest |
8 | 8 | env: |
9 | 9 | JVM_OPTS: -Xmx3200m |
10 | | - DETECT_CHROMEDRIVER_VERSION: true |
11 | 10 | PROJECT_PATH: ./scratch-blocks |
12 | 11 | steps: |
| 12 | + - run: | |
| 13 | + for F in chrome chromium chromedriver; do |
| 14 | + which $F && $F --version || echo Not found: $F |
| 15 | + done |
13 | 16 | - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 |
14 | | - - name: Install Chrome Dependencies |
15 | | - run: | |
16 | | - sudo apt-get update |
17 | | - sudo apt-get install -y libgconf-2-4 libatk1.0-0 libatk-bridge2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libgbm-dev libnss3-dev libxss-dev libasound2 |
18 | 17 | - name: Check Python version |
19 | 18 | run: python --version |
20 | 19 | - name: Setup Java |
|
26 | 25 | uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3 |
27 | 26 | with: |
28 | 27 | node-version-file: '.nvmrc' |
29 | | - - uses: browser-actions/setup-chrome@97349de5c98094d4fc9412f31c524d7697115ad8 # v1 |
30 | | - with: |
31 | | - chrome-version: stable |
32 | | - id: setup-chrome |
33 | | - - run: | |
34 | | - echo Installed chromium version: ${{ steps.setup-chrome.outputs.chrome-version }} |
35 | | - ${{ steps.setup-chrome.outputs.chrome-path }} --version |
36 | 28 | - name: Install Node Dependencies |
37 | 29 | run: npm ci |
38 | 30 | - name: Lint |
|