Skip to content

chore(deps): update all dependencies #448

chore(deps): update all dependencies

chore(deps): update all dependencies #448

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14.x
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
# fork to always run cache save, see https://github.com/actions/cache/issues/92
# Remove after https://github.com/actions/setup-node/pull/272 is launched
- name: Restore yarn cache
uses: bbugh/cache@c64c572235d810460d0d6876e9c705ad5002b353
id: yarn-cache
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
node_modules
key: ${{ runner.os }}-v1-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-v1-yarn-
- run: yarn install --frozen-lockfile --prefer-offline
- name: xvfb-run -a yarn test (Linux)
run: xvfb-run -a yarn test
if: runner.os == 'Linux'
- name: yarn test (MacOS/Windows)
run: yarn test
if: runner.os != 'Linux'