1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-04-17 10:08:43 -04:00

refactor npm build scripts

This commit is contained in:
2019-12-12 08:12:49 -05:00
parent 24f9e4eb16
commit c7807a0ef1
7 changed files with 116 additions and 3522 deletions

View File

@@ -31,10 +31,12 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --no-ignore-optional --frozen-lockfile
- run: yarn hugo:version
- run: yarn build:preview
- run: yarn optimize
- name: Install dependencies
run: yarn install --no-ignore-optional --frozen-lockfile
- name: Hugo version
run: yarn debug:hugo
- name: Build Hugo
run: yarn build:preview
- uses: actions/upload-artifact@master
if: github.event_name == 'pull_request'
with: