This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/.github/workflows/build.yml

26 lines
459 B
YAML
Raw Normal View History

2021-10-24 05:48:06 +02:00
name: 'Build'
on:
push:
branches: [develop]
2021-10-24 05:48:06 +02:00
pull_request:
branches: [master, develop]
jobs:
build:
runs-on: 'ubuntu-latest'
steps:
2023-05-13 20:28:24 +02:00
- uses: 'actions/checkout@v3.5.2'
2021-10-24 05:48:06 +02:00
2023-05-13 20:28:24 +02:00
- name: 'Setup Node.js'
2023-01-11 17:39:09 +01:00
uses: 'actions/setup-node@v3.6.0'
2021-10-24 05:48:06 +02:00
with:
2022-12-13 11:38:07 +01:00
node-version: '18.x'
2021-10-24 05:48:06 +02:00
cache: 'npm'
2023-05-13 20:28:24 +02:00
- name: 'Install dependencies'
run: 'npm clean-install'
2021-10-24 05:48:06 +02:00
- name: 'Build'
run: 'npm run build'