fix(deps): update angular monorepo to v18.2.13 #5318
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: 'CI' | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
install-deps: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.node-version' | |
cache: yarn | |
- uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }} | |
- run: yarn install --frozen-lockfile | |
- uses: ./.github/actions/setup-go | |
build-webapp: | |
runs-on: ubuntu-latest | |
needs: [install-deps] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.node-version' | |
cache: yarn | |
- uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }} | |
- run: yarn install --frozen-lockfile | |
- run: yarn build:all:production | |
build-api: | |
runs-on: ubuntu-latest | |
needs: [install-deps] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-go | |
- uses: imjasonh/[email protected] | |
- run: ko build --push=false ./apps/api | |
env: | |
KO_DOCKER_REPO: '' | |
build-worker: | |
runs-on: ubuntu-latest | |
needs: [install-deps] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-go | |
- uses: imjasonh/[email protected] | |
- run: ko build --push=false ./apps/worker | |
env: | |
KO_DOCKER_REPO: '' | |
test: | |
runs-on: ubuntu-latest | |
needs: [install-deps] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.node-version' | |
cache: yarn | |
- uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }} | |
- run: yarn install --frozen-lockfile | |
- uses: ./.github/actions/setup-go | |
- run: yarn test:ci | |
lint: | |
runs-on: ubuntu-latest | |
needs: [install-deps] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.node-version' | |
cache: yarn | |
- uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }} | |
- run: yarn install --frozen-lockfile | |
- uses: ./.github/actions/setup-go | |
- run: yarn lint |