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

remove old linters and scripts

This commit is contained in:
2020-03-11 20:40:28 -04:00
parent 6c59bb2edc
commit 0760163027
4 changed files with 266 additions and 1248 deletions

View File

@@ -1,43 +0,0 @@
name: Build and Lint
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
lfs: false
- uses: actions/setup-node@v1
with:
node-version: "12.x"
# https://github.com/actions/cache/blob/master/examples.md#node---yarn
# https://github.com/actions/cache/issues/60
- name: Get yarn cache location
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --no-ignore-optional --frozen-lockfile
- run: yarn debug:hugo
- run: yarn build:preview
- run: yarn lint
continue-on-error: true
- uses: actions/upload-artifact@v1
if: github.event_name == 'pull_request'
with:
name: public
path: './public'