File tree Expand file tree Collapse file tree 1 file changed +38
-38
lines changed
Expand file tree Collapse file tree 1 file changed +38
-38
lines changed Original file line number Diff line number Diff line change @@ -42,44 +42,44 @@ jobs:
4242
4343
4444 test-cross-platform :
45- runs-on : ${{ matrix.os }}
46- strategy :
47- fail-fast : false
48- matrix :
49- os : [ubuntu-latest, macos-latest ]
50- steps :
51- - name : Check out repository code
52- uses : actions/checkout@v2
53-
54- - name : Set up Docker Buildx
55- uses : docker/setup-buildx-action@v3
56- with :
57- driver : docker
58-
59- - name : Install dependencies (macOS)
60- if : runner.os == 'macOS'
61- run : |
62- brew install shellcheck yamllint
63- npm install -g npm@latest
64-
65- - name : Verify Docker
66- run : docker --version
67-
68- - name : Build Fablo
69- run : |
70- shellcheck --version && \
71- yamllint -v && \
72- npm install && \
73- npm run build && \
74- ./fablo-build.sh
75-
76- - name : Run unit tests
77- run : npm run test:unit
78-
79- - name : Lint
80- run : npm run lint
81-
82-
45+ runs-on : ${{ matrix.os }}
46+ strategy :
47+ fail-fast : false
48+ matrix :
49+ os : [ubuntu-latest, macos-13 ]
50+ steps :
51+ - name : Check out repository code
52+ uses : actions/checkout@v2
53+
54+ - name : Set up Docker on macOS with Colima
55+ if : runner.os == 'macOS'
56+ uses : douglascamata/setup-docker-macos-action@v1
57+
58+ - name : Verify Docker
59+ run : docker --version
60+
61+ - name : Install dependencies (macOS)
62+ if : runner.os == 'macOS'
63+ run : |
64+ brew install shellcheck yamllint
65+ npm install -g npm@latest
66+
67+ - name : Build Fablo
68+ run : |
69+ shellcheck --version && \
70+ yamllint -v && \
71+ npm install && \
72+ npm run build && \
73+ ./fablo-build.sh
74+
75+ - name : Run unit tests
76+ run : npm run test:unit
77+
78+ - name : Lint
79+ run : npm run lint
80+
81+
82+
8383 # test-k8:
8484 # needs: test-main
8585 # runs-on: ubuntu-latest
You can’t perform that action at this time.
0 commit comments