Personal-Site/.gitea/workflows/build.yaml

19 lines
480 B
YAML
Raw Normal View History

2023-04-13 12:04:57 -04:00
name: Build Site
run-name: ${{ github.actor }} is building Personal Site
2023-04-13 12:23:53 -04:00
on: [push]
2023-04-13 12:04:57 -04:00
jobs:
Build-Site:
runs-on: ubuntu-latest
2023-04-13 12:28:32 -04:00
strategy:
matrix:
node-version: [18.x]
2023-04-13 12:04:57 -04:00
steps:
2023-04-13 12:28:32 -04:00
- run: echo "Starting build job"
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
2023-04-13 12:29:32 -04:00
- run: npm install
2023-04-13 12:28:32 -04:00
- run: npm run build