mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-27 07:45:46 -04:00
revert postcss-svgo to 4.x
[1m[4m<input css uSVb3S>[24m[22m [1m71[22m[1m:37[22m [33m⚠ [39mError: Plugin name should be specified[33m [postcss-svgo][39m [1m73[22m[1m:36[22m [33m⚠ [39mError: Plugin name should be specified[33m [postcss-svgo][39m [1m158[22m[1m:35[22m [33m⚠ [39mError: Plugin name should be specified[33m [postcss-svgo][39m
This commit is contained in:
37
.github/workflows/ci.yml
vendored
37
.github/workflows/ci.yml
vendored
@@ -63,3 +63,40 @@ jobs:
|
||||
with:
|
||||
name: lhci-results
|
||||
path: ./.lighthouseci
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
lfs: false
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14.x
|
||||
- name: Get Yarn cache path
|
||||
# https://github.com/actions/cache/blob/master/examples.md#node---yarn
|
||||
# https://github.com/actions/cache/issues/60
|
||||
id: yarn-cache
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ steps.yarn-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
- name: Install dependencies
|
||||
run: yarn install --no-ignore-optional --frozen-lockfile
|
||||
- name: Audit dependencies
|
||||
run: yarn audit || true
|
||||
continue-on-error: true
|
||||
- name: Build preview
|
||||
run: yarn build:hugo --environment development --baseURL / --buildDrafts --buildFuture
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
- name: Percy snapshots
|
||||
uses: percy/snapshot-action@v0.1.2
|
||||
env:
|
||||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user