Repository navigation
Update to modern version of Yarn #6
Workflow file for this run
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: ["*"] | |
| pull_request: | |
| branches: [master] | |
| env: | |
| HUSKY: 0 | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| cache: yarn | |
| - name: Install Corepack | |
| run: npm install -g corepack | |
| - name: Install dependencies | |
| run: yarn --immutable | |
| - name: Run lint | |
| run: yarn lint | |
| unit: | |
| name: Unit tests | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| cache: yarn | |
| - name: Install Corepack | |
| run: npm install -g corepack | |
| - name: Install dependencies | |
| run: yarn --immutable | |
| - name: Run tests | |
| run: yarn test | |
| build: | |
| name: Build | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| cache: yarn | |
| - name: Install Corepack | |
| run: npm install -g corepack | |
| - name: Install dependencies | |
| run: yarn --immutable | |
| - name: Run build | |
| run: yarn build |