Skip to content

Commit

Permalink
dfgfdg
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-cox committed Aug 9, 2024
1 parent fce8a3f commit eec89ea
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
15 changes: 15 additions & 0 deletions .github/actions/setup-chrome/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Setup Chrome
description: Setup Chrome

runs:
using: 'composite'
steps:
- name: Install chrome
shell: bash
run: |
zypper addrepo http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome
wget https://dl.google.com/linux/linux_signing_key.pub
rpm --import linux_signing_key.pub
zypper -n refresh
zypper install --no-confirm google-chrome-stable
google-chrome --version
6 changes: 3 additions & 3 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ runs:
- name: Setup Node
uses: ./.github/actions/setup-node

# - uses: actions/setup-python@v5
# with:
# python-version: '3.12'
# We don't need to install python (for node-sass) as the base image contains it
# Note - we're on bci, so no apt-get, though there is zypper...
# Note - we're on bci, is not supported by actions/setup-python

- name: Install packages
shell: bash
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ jobs:
with:
fetch-depth: 1

- name: Setup Node
- name: Setup
uses: ./.github/actions/setup

- name: Setup Chrome
uses: ./.github/actions/setup-chrome

- name: Run tests
run: yarn test
lint:
Expand All @@ -33,7 +36,7 @@ jobs:
with:
fetch-depth: 1

- name: Setup Node
- name: Setup
uses: ./.github/actions/setup

- name: Run linter
Expand Down

0 comments on commit eec89ea

Please sign in to comment.