Skip to content

feat: update to signal inputs (#181) #150

feat: update to signal inputs (#181)

feat: update to signal inputs (#181) #150

Workflow file for this run

name: ngx-lottie
on:
push:
branches:
- master
pull_request:
jobs:
lint-test-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
- run: git fetch --no-tags --prune --depth 2 origin master
- uses: actions/setup-node@v4
with:
node-version: '18.13'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo '::set-output name=dir::$(yarn config get cacheFolder)'
- uses: actions/cache@v4
id: yarn-cache
with:
path: |
node_modules
${{ steps.yarn-cache-dir-path.outputs.dir }}
~/.cache
key: ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
env:
HUSKY_SKIP_INSTALL: 'true'
run: yarn
- run: yarn nx affected:lint --parallel --base=origin/master
- run: yarn nx affected:test --parallel --base=origin/master
- run: yarn nx affected:build --base=origin/master
- run: yarn nx affected:e2e --base=origin/master