Skip to content

Commit

Permalink
feature: action side jasmine run
Browse files Browse the repository at this point in the history
  • Loading branch information
askonev committed Jul 30, 2024
1 parent 82d902c commit 7d5a456
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/jasmine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ on:
pull_request:
branches:
- master

jobs:
units:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Build Docker image
run: docker build -t jasmine -f ./unit-test-runner/Dockerfile .

- name: Run test
run: docker run jasmine
- name: Build Chrome stable
run: |
apt-get update \
&& apt-get install -y wget gnupg \
&& wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/google.gpg >/dev/null
&& apt-get install -y google-chrome-stable \
- name: Install packages
run: npm install
- name: Run
run: npm run ng test

0 comments on commit 7d5a456

Please sign in to comment.