Skip to content

[Delivers #187584922] Admin should be able to disable an account #91

[Delivers #187584922] Admin should be able to disable an account

[Delivers #187584922] Admin should be able to disable an account #91

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- develop
env:
PORT: ${{ secrets.PORT }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
DATABASE_PORT_TEST: ${{ secrets.DATABASE_PORT_TEST }}
DATABASE_HOST_TEST: ${{ secrets.DATABASE_HOST_TEST }}
DATABASE_NAME_TEST: ${{ secrets.DATABASE_NAME_TEST }}
DATABASE_USERNAME_TEST: ${{ secrets.DATABASE_USERNAME_TEST }}
DATABASE_PASSWORD_TEST: ${{ secrets.DATABASE_PASSWORD_TEST }}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm install
- run: npm ci
- run: npm run build --if-present
- run: npm test --if-present
- run: npm run coverage --if-present
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}