2022-01-13 13:00:31 +00:00
|
|
|
name: CI
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
|
|
test:
|
2022-05-29 09:24:36 +00:00
|
|
|
name: Test build process on node ${{ matrix.node_version }}
|
2022-01-13 13:00:31 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-05-29 09:24:36 +00:00
|
|
|
node_version: [8, 10, 11, 12, 13, 14]
|
2022-01-13 13:00:31 +00:00
|
|
|
steps:
|
2022-05-29 09:24:36 +00:00
|
|
|
- uses: actions/checkout@v1
|
2022-01-13 13:00:31 +00:00
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
2022-05-29 09:24:36 +00:00
|
|
|
uses: actions/setup-node@v1
|
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-05-29 09:24:36 +00:00
|
|
|
run: npm install --ignore-scripts
|
2022-01-13 13:00:31 +00:00
|
|
|
- name: pre fomantic install & gulp build
|
2022-05-29 09:24:36 +00:00
|
|
|
run: npx gulp install
|