2020-03-31 12:13:53 +00:00
|
|
|
name: Simple CI
|
2020-03-23 20:15:49 +00:00
|
|
|
|
|
|
|
on: [pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2020-03-31 12:13:53 +00:00
|
|
|
run-ci:
|
|
|
|
name: Build Frontend
|
2020-03-23 20:15:49 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v1
|
|
|
|
with:
|
2021-10-11 16:15:42 +00:00
|
|
|
node-version: '14.x'
|
|
|
|
- run: npm i -g npm@7
|
2020-03-23 20:15:49 +00:00
|
|
|
- run: npm install
|
2021-05-19 08:34:07 +00:00
|
|
|
- name: Check if the git repository is clean
|
|
|
|
run: exit $( git status --porcelain --untracked-files=no | head -255 | wc -l )
|
2020-03-23 20:15:49 +00:00
|
|
|
- run: npm run lint
|
2020-03-31 12:13:53 +00:00
|
|
|
- run: make
|