33 lines
464 B
YAML
33 lines
464 B
YAML
|
name: Build
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
env:
|
||
|
CI: true
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
name: Build
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: Clone Repository
|
||
|
uses: actions/checkout@v3
|
||
|
|
||
|
- name: Set Node.js Version
|
||
|
uses: actions/setup-node@v3
|
||
|
with:
|
||
|
node-version: 16
|
||
|
|
||
|
- name: Install Dependencies
|
||
|
run: npm ci
|
||
|
|
||
|
- name: Build
|
||
|
run: npm run build
|