mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-27 07:45:46 -04:00
clean up styles & extend old browser support via autoprefixer/eslint 🧓🏻
and stop encoding emojis like a caveman
This commit is contained in:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
||||
- name: Install LHCI
|
||||
run: npm install -g @lhci/cli
|
||||
- name: Audit deploy preview
|
||||
if: github.event_name == 'pull_request'
|
||||
if: "github.event_name == 'pull_request'"
|
||||
continue-on-error: true
|
||||
run: |
|
||||
lhci autorun --config=./.lighthouserc.json \
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
--collect.url=https://deploy-preview-${{ github.event.number }}--jakejarvis.netlify.com/notes/how-to-pull-request-fork-github/ \
|
||||
--collect.url=https://deploy-preview-${{ github.event.number }}--jakejarvis.netlify.com/notes/how-to-pull-request-fork-github/amp.html
|
||||
- name: Audit jarv.is
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
if: "github.event_name == 'push' && github.ref == 'refs/heads/main'"
|
||||
continue-on-error: true
|
||||
run: |
|
||||
lhci autorun --config=./.lighthouserc.json \
|
||||
@@ -72,7 +72,7 @@ jobs:
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.14.x
|
||||
- name: Get yarn cache location
|
||||
- name: Get Yarn cache location
|
||||
# https://github.com/actions/cache/blob/master/examples.md#node---yarn
|
||||
# https://github.com/actions/cache/issues/60
|
||||
id: yarn-cache
|
||||
@@ -84,16 +84,19 @@ jobs:
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
- name: Install deps
|
||||
- name: Install dependencies
|
||||
run: yarn install --no-ignore-optional --frozen-lockfile
|
||||
- name: Audit dependencies
|
||||
run: yarn audit
|
||||
continue-on-error: true
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
continue-on-error: true
|
||||
- name: Build
|
||||
run: yarn build:preview
|
||||
- name: Percy snapshots
|
||||
# don't run for all of dependabot's PRs -- I'm using the free plan...
|
||||
if: "!contains(github.actor, '[bot]')"
|
||||
uses: percy/snapshot-action@v0.1.0
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user