2022-01-13 13:00:31 +00:00
|
|
|
name: CI
|
|
|
|
on: [pull_request]
|
2022-06-08 10:36:39 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2022-01-13 13:00:31 +00:00
|
|
|
jobs:
|
|
|
|
test:
|
2022-06-08 10:36:39 +00:00
|
|
|
name: Test build process on node ${{ matrix.node-version }}
|
2022-01-13 13:00:31 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
2022-06-08 10:36:39 +00:00
|
|
|
fail-fast: false
|
2022-01-13 13:00:31 +00:00
|
|
|
matrix:
|
2022-06-08 10:36:39 +00:00
|
|
|
node-version: [12, 14, 16]
|
2022-01-13 13:00:31 +00:00
|
|
|
steps:
|
2022-06-08 10:36:39 +00:00
|
|
|
- uses: actions/checkout@v3
|
2022-01-13 13:00:31 +00:00
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
2022-06-08 10:36:39 +00:00
|
|
|
uses: actions/setup-node@v3
|
2022-01-13 13:00:31 +00:00
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: pre-install
|
|
|
|
run: sh ./scripts/preinstall.sh
|
|
|
|
- name: install dependencies
|
2022-06-08 10:36:39 +00:00
|
|
|
run: yarn
|
2022-01-13 13:00:31 +00:00
|
|
|
- name: pre fomantic install & gulp build
|
2022-06-08 10:36:39 +00:00
|
|
|
run: yarn gulp install
|