Update dependency eslint to v9 #1364
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: Unit Test & Code Quality | |
on: | |
push: | |
branches: | |
- release | |
- master | |
tags: | |
- v** | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- name: Setup Node | |
uses: actions/setup-node@v4.0.3 | |
with: | |
node-version: '18.x' | |
- name: Instal Dependencies | |
run: yarn run fresh-install | |
- name: Run Unit Tests | |
run: yarn run gh:test | |
env: | |
HEART_API_TEST_ENV: ${{secrets.HEART_API_TEST_ENV}} | |
HEART_API_JWT_PRIVATE_KEY: ${{secrets.HEART_API_JWT_PRIVATE_KEY}} | |
HEART_API_JWT_PUBLIC_KEY: ${{secrets.HEART_API_JWT_PUBLIC_KEY}} | |
HEART_API_MONGO_DB_SSL_CERT: ${{secrets.HEART_API_MONGO_DB_SSL_CERT}} | |
HEART_API_SSL_CA_BUNDLE_CRT: ${{secrets.HEART_API_SSL_CA_BUNDLE_CRT}} | |
HEART_API_SSL_CERTIFICATE_CRT: ${{secrets.HEART_API_SSL_CERTIFICATE_CRT}} | |
HEART_API_SSL_PRIVATE_KEY: ${{secrets.HEART_API_SSL_PRIVATE_KEY}} | |
- name: Check Syntax (ES Lint) | |
run: yarn run lint |