chore: upgrade to angular v21 (#291) #607
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: Build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| paths-ignore: | |
| - '**.md' | |
| pull_request: | |
| jobs: | |
| build: | |
| name: Build, Lint and Test Project | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build project | |
| run: npm run build | |
| # Because the storybook project use the built version of angular-ui, | |
| # we need to run these steps after building the project. | |
| - name: Lint project | |
| run: npm run lint | |
| - name: Test project | |
| run: npm run test-ci |