fix the release yml #12
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 (ngbootstrap) | |
| on: | |
| push: { branches: [ main ] } | |
| pull_request: { branches: [ main ] } | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| # You can keep cache off for simplicity with npx: | |
| # cache: 'pnpm' | |
| # cache-dependency-path: pnpm-lock.yaml | |
| - name: Show tool versions | |
| run: node -v && npm -v | |
| # Use pnpm via npx so we don't need it preinstalled | |
| - name: Install deps (pnpm via npx) | |
| run: npx -y pnpm@9 install --frozen-lockfile | |
| - name: Build | |
| run: npx -y pnpm@9 build |