Skip to content

chore(deps): update angular-eslint monorepo to v18 (major) #727

chore(deps): update angular-eslint monorepo to v18 (major)

chore(deps): update angular-eslint monorepo to v18 (major) #727

Workflow file for this run

name: Test
on:
push:
branches: [main]
paths:
- '**/*'
- '!README.md'
- '!renovate.json'
- '!.husky/**/*'
pull_request:
paths:
- '**/*'
- '!README.md'
- '!renovate.json'
- '!.husky/**/*'
jobs:
setup:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Cache node_modules
id: node_modules_cache
uses: actions/cache@v3
with:
path: |
node_modules
packages/*/node_modules
key: node-v${{ matrix.node }}-node-modules-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
- name: Install node_modules
run: yarn --check-files --frozen-lockfile --non-interactive
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
needs: setup
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: nrwl/nx-set-shas@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Restore node_modules
id: node_modules_cache
uses: actions/cache@v3
with:
path: |
node_modules
packages/*/node_modules
key: node-v${{ matrix.node }}-node-modules-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
# - name: Check prettier format
# run: yarn format:check
- name: Lint
run: yarn lint
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
needs: setup
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Restore node_modules
id: node_modules_cache
uses: actions/cache@v3
with:
path: |
node_modules
packages/*/node_modules
key: node-v${{ matrix.node }}-node-modules-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
- name: Test
run: yarn test