Skip to content

[settings] Update default formatters for JSON and TypeScript files #1162

[settings] Update default formatters for JSON and TypeScript files

[settings] Update default formatters for JSON and TypeScript files #1162

Workflow file for this run

name: CI | Coverall
on:
push:
branches: ['master']
pull_request:
branches: ['master']
jobs:
test:
name: Coverall Test
runs-on: ubuntu-latest
container:
image: quay.io/rockylinux/rockylinux:9
steps:
- name: Clone repository
uses: actions/checkout@v6
- name: Install required packages
run: |
dnf install -y sudo tar gzip bzip2 git bash
dnf install -y curl --allowerasing
- name: Install Node.js
run: |
curl -fsSL https://rpm.nodesource.com/setup_24.x | bash -
dnf install nodejs -y
- name: Install project dependencies
run: npm install
- name: Run tests and generate coverage
run: npm run test
- name: Upload coverage to Coveralls
run: coveralls < ./coverage/lcov.info
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_SERVICE_NAME: github
COVERALLS_GIT_BRANCH: ${{ github.ref_name }}
finish:
needs: test
runs-on: ubuntu-latest
container:
image: quay.io/rockylinux/rockylinux:9
steps:
- name: Clone repository
uses: actions/checkout@v6
- name: Notify Coveralls Finished
run: |
curl -s -X POST -d 'payload[build_num]=${{ github.run_id }}&payload[status]=done' \
"https://coveralls.io/webhook?repo_token=${{ secrets.COVERALLS_REPO_TOKEN }}"
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}