Skip to content

Commit

Permalink
modify workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Aug 23, 2024
1 parent 955d1fb commit a0475f2
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- windows-latest
browser:
- chrome
- firefox
# - firefox
include:
- os: ubuntu-latest
name: Linux
Expand Down Expand Up @@ -55,20 +55,19 @@ jobs:
shell: bash
- uses: actions/setup-node@v4
- run: npm install
shell: bash
- run: npm run setup_demo
if: matrix.os != 'windows-latest'

# BUG: Somehow `lake` is not found when called through `npm` but it works on its own
- name: Run npm run setup_demo (Windows)
if: matrix.os == 'windows-latest'
run: |
concurrently \"(cd demo && npm install)\" \"npm run build\" -n install,build -c \"bgCyan.bold,bgBlue.bold\"
- name: Run lake build (Windows)
if: matrix.os == 'windows-latest'
run: |
cd demo/server/LeanProject
lake build
shell: bash
# # BUG: Somehow `lake` is not found when called through `npm` but it works on its own
# - name: Run npm run setup_demo (Windows)
# if: matrix.os == 'windows-latest'
# run: |
# npm run build
# cd demo
# npm install
# cd server/LeanProject
# lake build
# shell: bash

- name: Run tests
uses: cypress-io/github-action@v6
Expand Down

0 comments on commit a0475f2

Please sign in to comment.