|
|
|
@ -27,19 +27,15 @@ jobs: |
|
|
|
|
|
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache-{{ checksum "package.json" }} |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: |
|
|
|
|
name: Install npm wee |
|
|
|
|
command: npm install |
|
|
|
|
- save_cache: |
|
|
|
|
key: dependency-cache-{{ checksum "package.json" }} |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
paths: |
|
|
|
|
- node_modules |
|
|
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
key: firefox-bin |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache-{{ checksum "package.json" }} |
|
|
|
|
- run: echo 'export PATH=~/firefox/$FIREFOX_VERSION:$PATH' >> $BASH_ENV |
|
|
|
|
- run: npm run lint |
|
|
|
|
- run: npm test |
|
|
|
|