Thomas Cole
7b9f7eeeb2
All checks were successful
Build Site / Build-Site (18.x) (push) Successful in 21s
33 lines
877 B
YAML
33 lines
877 B
YAML
name: Build Site
|
|
run-name: ${{ github.actor }} is building Resume
|
|
on: [push]
|
|
jobs:
|
|
Build-Site:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [18.x]
|
|
steps:
|
|
- 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 }}
|
|
- run: npm install
|
|
- run: npm run build
|
|
- name: Upload pdf
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: PDF
|
|
path: build/resume.pdf
|
|
|
|
# - name: setup go
|
|
# uses: https://github.com/actions/setup-go@v4
|
|
# with:
|
|
# go-version: '>=1.20.1'
|
|
# - name: Create Release
|
|
# uses: actions/release-action@main
|
|
# with:
|
|
# files: |-
|
|
# build/*.pdf |