File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 4040 - name : Lint
4141 run : npm run lint && ./lint.sh
4242
43+
44+ 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 : Install dependencies (macOS)
55+ if : runner.os == 'macOS'
56+ run : |
57+ brew install shellcheck yamllint
58+ npm install -g npm@latest
59+
60+ - name : Build Fablo
61+ run : |
62+ shellcheck --version && \
63+ yamllint -v && \
64+ npm install && \
65+ npm run build && \
66+ ./fablo-build.sh
67+
68+ - name : Run unit tests
69+ run : npm run test:unit
70+
71+ - name : Lint
72+ run : npm run lint
73+
74+
4375 # test-k8:
4476 # needs: test-main
4577 # runs-on: ubuntu-latest
You can’t perform that action at this time.
0 commit comments