mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-07 16:32:32 +02:00
remove safari test, update snapshots for new macOS, use dependency caching (#745)
* remove safari test * add node modules caching * update macos snapshots * try to fix caching * try like this * cache .npm * adjust cache keys
This commit is contained in:
parent
b5b593a62f
commit
7dcc155b8f
Binary file not shown.
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 44 KiB |
BIN
.github/actions-scripts/__snapshots__/puppeteer-darwin.png
vendored
Executable file → Normal file
BIN
.github/actions-scripts/__snapshots__/puppeteer-darwin.png
vendored
Executable file → Normal file
Binary file not shown.
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 268 KiB |
21
.github/workflows/browsers.yml
vendored
21
.github/workflows/browsers.yml
vendored
|
@ -28,6 +28,8 @@ jobs:
|
||||||
browser: ie
|
browser: ie
|
||||||
- os: macOS-latest
|
- os: macOS-latest
|
||||||
browser: chrome
|
browser: chrome
|
||||||
|
# Safari workaround is not working in Catalina
|
||||||
|
- browser: safari
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -42,6 +44,17 @@ jobs:
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '12.x'
|
node-version: '12.x'
|
||||||
|
|
||||||
|
- name: Cache node modules
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: ~/.npm
|
||||||
|
key: ${{ runner.OS }}-build-${{ matrix.browser }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.OS }}-build-${{ env.cache-name }}-
|
||||||
|
${{ runner.OS }}-build-
|
||||||
|
${{ runner.OS }}-
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
|
@ -94,9 +107,13 @@ jobs:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- uses: actions/setup-node@v1
|
- name: Cache node modules
|
||||||
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
node-version: '12.x'
|
path: ~/.npm
|
||||||
|
key: ${{ runner.OS }}-build-puppeteer
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.OS }}-build-puppeteer
|
||||||
- run: |
|
- run: |
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
|
|
Loading…
Reference in a new issue