Stop needless build for lint CI job

This commit is contained in:
Oliver Blanthorn 2020-07-19 13:14:57 +01:00
parent 01e7d50677
commit a18a173f21
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
3 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,6 @@ commands:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run: bash -c 'yarn run build'
jobs:
lint:
docker:

View file

@ -1,3 +1,4 @@
#! /bin/sh
yarn run build --no-native
cd ${0%/*}/../build
"$(yarn bin)/web-ext" lint

View file

@ -1,3 +1,4 @@
#! /bin/sh
cd ${0%/*}
yarn run build --no-native
"$(yarn bin)/jest" src