chore: don't upgade to major angular versions #202
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: frontend_on_push_branch_execute_ci_cd | |
on: | |
push: | |
branches: [main] | |
# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags | |
pull_request: | |
# Only branches and tags on the base are evaluated | |
branches: [main] | |
env: | |
NODE_VERSION: "20.12" | |
jobs: | |
yarn_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: "yarn" | |
- run: yarn install --frozen-lockfile | |
- run: yarn test:ci | |
yarn_lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: "yarn" | |
- run: yarn install --frozen-lockfile | |
- run: yarn lint |