Skip to content

build(deps-dev): Bump @types/node from 20.14.12 to 22.5.4 #868

build(deps-dev): Bump @types/node from 20.14.12 to 22.5.4

build(deps-dev): Bump @types/node from 20.14.12 to 22.5.4 #868

Workflow file for this run

name: PR
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
actions: read
checks: read
contents: write
deployments: read
id-token: write
issues: read
discussions: none
packages: read
pages: read
pull-requests: write
repository-projects: none
security-events: none
statuses: write
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
# - uses: ./.github/workflows/shared/reusable-jobs.yml
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- name: Install packages
run: npm ci
- name: Lint
run: npm run lint
# - name: Prettier
# run: npm run prettier:check
build:
name: Build
needs: lint
runs-on: ubuntu-latest
steps:
# - uses: ./.github/workflows/shared/reusable-jobs.yml
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- name: Install packages
run: npm ci
- name: Compile
run: npm run compile
unit-tests:
name: Unit tests
needs: build
runs-on: ubuntu-latest
steps:
# - uses: ./.github/workflows/shared/reusable-jobs.yml
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- name: Install packages
run: npm ci
- name: Unit tests
run: npm run test:unit
# FIXME: There is an issue on the pipeline but works fine on windows :/
# mutation-tests:
# name: Mutation tests
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 20
# cache: npm
# # - name: Get branch name
# # id: branch-name
# # uses: tj-actions/[email protected]
# # - name: Cache Stryker incremental test ouput
# # id: cache-stryker-incremental-output
# # uses: actions/cache@v3
# # env:
# # cache-name: stryker-incremental-output
# # with:
# # path: ${{ github.workspace }}/reports/stryker-incremental.json
# # key: ${{ env.cache-name }}-${{ steps.branch-name.outputs.current_branch }}-${{ github.run_id }}
# # restore-keys: |
# # ${{ env.cache-name }}-${{ steps.branch-name.outputs.current_branch }}-
# - name: Install packages
# run: npm ci
# # - name: Mutation tests
# # run: npm run test:mutation
# - name: Mutation tests
# run: npm run test:mutation:full --ignoreStatic