fix(iota): more typos #3021
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: Turborepo CI | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
jobs: | |
audit: | |
name: pnpm audit | |
runs-on: self-hosted-rust | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # [email protected] | |
with: | |
version: 9 | |
- name: Install Nodejs | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | |
with: | |
node-version: "20" | |
- name: Run audit | |
run: pnpm audit --prod --audit-level high | |
build: | |
name: Lint, Build, and Test | |
runs-on: self-hosted-rust | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | |
with: | |
fetch-depth: 2 | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # [email protected] | |
with: | |
version: 9 | |
- name: Install Nodejs | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | |
with: | |
node-version: "20" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Manypkg Check | |
run: pnpm manypkg check | |
- name: Turbo Cache | |
id: turbo-cache | |
uses: actions/cache@v3 | |
with: | |
path: node_modules/.cache/turbo | |
key: turbo-${{ runner.os }}-${{ github.sha }} | |
restore-keys: | | |
turbo-${{ runner.os }}- | |
- name: Lint | |
run: pnpm turbo lint | |
- name: Install wasm-pack for mbf package | |
uses: jetli/wasm-pack-action@0d096b08b4e5a7de8c28de67e11e945404e9eefa # [email protected] | |
with: | |
version: 'latest' | |
- name: Build | |
run: pnpm turbo build | |
- name: Test | |
run: pnpm turbo test | |
# Pack wallet extension and upload it as an artifact for easy developer use: | |
- name: Wallet Extension Has Changes? | |
id: wallet-diff | |
continue-on-error: true | |
run: pnpm dlx turbo-ignore iota-wallet | |
- name: Wallet Extension Preview Package | |
if: ${{ steps.wallet-diff.outcome == 'failure' }} | |
run: pnpm --filter iota-wallet pack:zip | |
- uses: actions/upload-artifact@v3 | |
if: ${{ steps.wallet-diff.outcome == 'failure' }} | |
with: | |
name: wallet-extension | |
path: apps/wallet/web-ext-artifacts/* | |
if-no-files-found: error | |
retention-days: 7 |