POC Install Icons Pack #4
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: POC Install Icons Pack | |
on: | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
plasma-ref: | |
required: true | |
description: '' | |
default: master | |
plasma-version: | |
description: '' | |
required: true | |
jobs: | |
icons: | |
runs-on: macos-latest | |
environment: sdds | |
env: | |
lerna-scope: '--scope="@salutejs/plasma-icons"' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
fetch-depth: 0 | |
path: current | |
- name: Checkout to Plasma Web | |
uses: actions/checkout@v4 | |
with: | |
repository: salute-developers/plasma | |
ref: feat-icons-png-generator | |
show-progress: false | |
path: plasma | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: 'plasma/.nvmrc' | |
- name: Install plasma web project deps | |
working-directory: ./plasma | |
run: npm ci | |
- name: Install plasma-icons | |
working-directory: ./plasma | |
run: | | |
npx lerna bootstrap ${{ env.lerna-scope }} | |
- name: Generate iOS icons | |
working-directory: ./plasma | |
run: | | |
npx lerna ${{ env.lerna-scope }} run generate:ios | |
- name: ls | |
working-directory: ./plasma | |
run: | | |
cd packages/plasma-icons | |
ls icons-ios |