Skip to content

chore(deps): bump fast-xml-parser and is-svg in /packages/sharec-docs #843

chore(deps): bump fast-xml-parser and is-svg in /packages/sharec-docs

chore(deps): bump fast-xml-parser and is-svg in /packages/sharec-docs #843

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
lint:
strategy:
matrix:
os: [ubuntu-latest]
node_version: ['16.x']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
version: '16.x'
- name: Restore npm cache
uses: actions/cache@v2
with:
path: |
node_modules
key: ${{ runner.os }}-${{ hashFiles('./package-lock.json') }}
- name: Install dependencies
run: |
npm i
- name: Running linters
run: |
npm run lint
test:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
node_version: ['12.x', '14.x', '16.x']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
version: ${{ matrix.node_version }}
- name: Install dependencies
run: |
npm i
- name: Restore lerna cache
uses: actions/cache@v2
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install packages dependencies
run: |
npx lerna bootstrap
- name: Running tests
run: |
npx lerna run test