Betterzon/.github/workflows/master-betterzon.yml

35 lines
705 B
YAML
Raw Normal View History

2020-10-14 19:42:24 +00:00
2020-10-21 17:42:00 +00:00
name: Test
2020-10-14 19:42:24 +00:00
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Cache node modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm ci and npm run build
run: |
2020-11-12 09:39:17 +00:00
cd Frontend
2020-10-14 19:42:24 +00:00
npm ci
2020-10-15 08:41:49 +00:00
npm run build