feat(svg): animation alternative #123
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |