24 lines
474 B
YAML
24 lines
474 B
YAML
name: Build
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: 🔧 Setup node
|
|
uses: https://github.com/actions/setup-node@v3
|
|
- name: 🧱 Install node packages
|
|
run: npm ci
|
|
- name: ✅ svelte-check
|
|
run: npm run check
|
|
- name: 🔨 Build project
|
|
run: npm run build |