chore: bump version to 1.5.0 in package.json #35
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| # Activate Corepack for Yarn Berry | |
| - name: Setup Corepack | |
| run: | | |
| # Enable Corepack with sudo | |
| sudo corepack enable | |
| # Prepare package manager | |
| sudo corepack prepare [email protected] --activate | |
| # Verify installation | |
| which yarn | |
| yarn --version | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Lint files | |
| run: yarn lint | |
| - name: Typecheck files | |
| run: yarn typecheck | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| # Activate Corepack for Yarn Berry | |
| - name: Setup Corepack | |
| run: | | |
| # Enable Corepack with sudo | |
| sudo corepack enable | |
| # Prepare package manager | |
| sudo corepack prepare [email protected] --activate | |
| # Verify installation | |
| which yarn | |
| yarn --version | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Run unit tests | |
| run: yarn test -- --maxWorkers=2 --coverage | |
| build-library: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| # Activate Corepack for Yarn Berry | |
| - name: Setup Corepack | |
| run: | | |
| # Enable Corepack with sudo | |
| sudo corepack enable | |
| # Prepare package manager | |
| sudo corepack prepare [email protected] --activate | |
| # Verify installation | |
| which yarn | |
| yarn --version | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Build package | |
| run: yarn prepare | |
| build-web: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| # Activate Corepack for Yarn Berry | |
| - name: Setup Corepack | |
| run: | | |
| # Enable Corepack with sudo | |
| sudo corepack enable | |
| # Prepare package manager | |
| sudo corepack prepare [email protected] --activate | |
| # Verify installation | |
| which yarn | |
| yarn --version | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Build example for Web | |
| run: yarn example expo export:web |