Skip to content

feat(svg): animation alternative #123

feat(svg): animation alternative

feat(svg): animation alternative #123

Workflow file for this run

name: Continuous Integration
on:
pull_request:
push:
branches:
- master
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['10', '12', '14']
name: '[v${{ matrix.node-version }}] lint and test'
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node-version }}
- name: Cache node_modules
id: cache-node_modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node-${{matrix.node-version}}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{matrix.node-version}}-
${{ runner.os }}-node-
${{ runner.os }}-
- name: Install dependencies
if: steps.cache-node_modules.outputs.cache-hit != 'true'
run: npm ci --force
- name: Run tests
run: npm run test
- name: Build
env:
BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE }}
run: npm run build