Skip to content

feat(rive-angular): release 1.0.0 with animation lifecycle outputs #12

feat(rive-angular): release 1.0.0 with animation lifecycle outputs

feat(rive-angular): release 1.0.0 with animation lifecycle outputs #12

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
lint-test-build:
name: Lint, Test & Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint library
run: npm run lint:lib
- name: Test library
run: npm run test:lib -- --coverage --watchAll=false
- name: Build library
run: npm run build:lib
- name: Upload coverage to Codecov
if: matrix.node-version == '20.x'
uses: codecov/codecov-action@v4
with:
files: ./coverage/libs/rive-angular/lcov.info
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
publish-check:
name: Publish Check
runs-on: ubuntu-latest
needs: lint-test-build
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build library
run: npm run build:lib
- name: Pack library (dry-run)
run: npm run pack:lib