1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-11-17 01:29:04 +00:00
notes/.github/workflows/ci.yml

26 lines
469 B
YAML

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '14.x'
- uses: actions/cache@v1
with:
path: $HOME/.npm
key: npm-${{ hashFiles('package-lock.json') }}
- name: Install Dependencies
run: npm ci
- name: Run build
run: npm run build