Skip to content

Update dependency eslint-config-prettier to v8.9.0 #8714

Update dependency eslint-config-prettier to v8.9.0

Update dependency eslint-config-prettier to v8.9.0 #8714

Workflow file for this run

name: 'Code quality & Build'
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.15.0
- name: Build
run: |
node -v
yarn
yarn prettier
yarn lint
yarn build
yarn test:coverage
yarn type-coverage
env:
GTM_ID: ${{ secrets.GTM_ID }}
MONGODB_URI: ${{ secrets.MONGODB_URI }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
LAST_FM_API_KEY: ${{ secrets.LAST_FM_API_KEY }}
CLOUDINARY_API_KEY: ${{ secrets.CLOUDINARY_API_KEY }}
CLOUDINARY_API_SECRET: ${{ secrets.CLOUDINARY_API_SECRET }}
CLOUDINARY_CLOUD_NAME: ${{ secrets.CLOUDINARY_CLOUD_NAME }}
NODE_OPTIONS: '--max_old_space_size=8192'
- name: Upload
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage/lcov.info
coverage:
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
name: codacy-coverage-reporter
steps:
- uses: actions/checkout@master
- uses: actions/download-artifact@v3
with:
name: coverage
path: coverage
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@master
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage/lcov.info