chore: updated styled-component package version #4421
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: Test-app | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-pal: | |
name: Build PAL | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: dorny/paths-filter@v3 | |
id: changes | |
with: | |
filters: | | |
react: | |
- 'packages/react/**' | |
- name: Increase watchers | |
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
if: steps.changes.outputs.react == 'true' | |
with: | |
node-version: '20.x' | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
if: steps.changes.outputs.react == 'true' | |
with: | |
path: | | |
node_modules | |
*/*/node_modules | |
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Install dependencies | |
if: steps.changes.outputs.react == 'true' | |
run: | | |
yarn --frozen-lockfile | |
yarn lerna run --stream postinstall | |
yarn lerna link | |
- name: Run build | |
if: steps.changes.outputs.react == 'true' | |
run: | | |
cd packages/react | |
yarn build | |
mkdir -p dist | |
cp -rf package.json umd scss lib es css ./dist | |
- name: Archive build artifacts | |
if: ${{ success() }} && steps.changes.outputs.react == 'true' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dist | |
path: packages/react/dist |