Files
simpleFoodDiary/.github/workflows/nodejs.yml
Julien Lengrand-Lambert dc5c78f685 Update ci
2020-04-18 16:45:50 +02:00

27 lines
474 B
YAML

name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and build
run: |
npm install
npm ci
npm run build --if-present
env:
CI: true