2021-07-23 23:15:52 +02:00
|
|
|
name: 'Build'
|
2020-12-27 17:40:00 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [master, develop]
|
2021-05-28 10:13:00 +02:00
|
|
|
pull_request:
|
2020-12-27 17:40:00 +01:00
|
|
|
branches: [master, develop]
|
|
|
|
|
|
|
|
jobs:
|
2021-07-23 23:15:52 +02:00
|
|
|
build:
|
2021-02-14 19:28:15 +01:00
|
|
|
runs-on: 'ubuntu-latest'
|
2020-12-27 17:40:00 +01:00
|
|
|
steps:
|
2021-07-23 23:15:52 +02:00
|
|
|
- uses: 'actions/checkout@v2'
|
2020-12-27 17:40:00 +01:00
|
|
|
|
2021-07-01 09:27:46 +02:00
|
|
|
- name: 'Use Node.js'
|
2021-07-22 08:05:56 +02:00
|
|
|
uses: 'actions/setup-node@v2.3.0'
|
2020-12-27 17:40:00 +01:00
|
|
|
with:
|
2021-07-01 09:27:46 +02:00
|
|
|
node-version: '16.x'
|
|
|
|
cache: 'npm'
|
2020-12-27 17:40:00 +01:00
|
|
|
|
2021-07-01 09:27:46 +02:00
|
|
|
- name: 'Install'
|
|
|
|
run: 'npm install'
|
2020-12-27 17:40:00 +01:00
|
|
|
|
2021-07-23 23:15:52 +02:00
|
|
|
- name: 'Build Package'
|
|
|
|
run: 'npm run build'
|