chore(deps): update npm angular packages to v18 (major) - autoclosed #1698
Workflow file for this run
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
cancel-in-progress: ${{ github.event_name != 'push' }} | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- run: npm i -g @antfu/ni | |
- run: corepack enable | |
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: Install dependencies | |
run: nci | |
- name: Lint | |
run: nr lint | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- run: npm i -g @antfu/ni | |
- run: corepack enable | |
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: Install dependencies | |
run: nci | |
- name: Test | |
run: nr test | |
coverage: | |
name: Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- run: npm i -g @antfu/ni | |
- run: corepack enable | |
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: Install dependencies | |
run: nci | |
- name: Test | |
run: nr test-coverage-ci | |
- name: Coverage | |
if: always() | |
uses: MishaKav/jest-coverage-comment@main | |
with: | |
junitxml-title: JUnit | |
junitxml-path: ./junit.xml | |
coverage-title: Files coverage | |
coverage-path: ./coverage.txt | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- run: npm i -g @antfu/ni | |
- run: corepack enable | |
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: Install dependencies | |
run: nci | |
- name: Build | |
run: nr build | |