Skip to content

224 hivemind question platform agnostic data transformation #13

224 hivemind question platform agnostic data transformation

224 hivemind question platform agnostic data transformation #13

Workflow file for this run

# .github/workflows/bot-ci.yml
name: Bot CI Pipeline
on:
push:
paths:
- "bot/**"
pull_request:
paths:
- "bot/**"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: super-linter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TYPESCRIPT_DEFAULT_STYLE: prettier
VALIDATE_DOCKERFILE_HADOLINT: false
VALIDATE_JSCPD: false
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_MYPY: false
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
cache-dependency-path: bot/package-lock.json
- name: Install Dependencies
run: npm install --force
working-directory: ./bot
- name: Run Tests
run: npm run test
working-directory: ./bot
- uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: npm run test:cov
build-push:
# needs: [lint, test]
needs: [lint, test]
uses: ./.github/workflows/build-push.yml
with:
app_name: "bot"
context: "./bot"
dockerfile: "./bot/Dockerfile"