2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/.github/workflows/build.yml

26 lines
438 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:
2022-05-12 20:35:46 +02:00
- uses: 'actions/checkout@v3.0.0'
2021-10-24 05:48:06 +02:00
- name: 'Use Node.js'
2022-05-12 20:35:46 +02:00
uses: 'actions/setup-node@v3.0.0'
2021-10-24 05:48:06 +02:00
with:
node-version: '16.x'
cache: 'npm'
- name: 'Install'
run: 'npm install'
- name: 'Build'
run: 'npm run build'