Skip to content

Create tech stack docs (techstack.yml and techstack.md) #2

Create tech stack docs (techstack.yml and techstack.md)

Create tech stack docs (techstack.yml and techstack.md) #2

Workflow file for this run

on:
pull_request:
types: [opened, synchronize]
jobs:
eslint:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: '14'
- name: ESLint
uses: betrybe/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
stylelint:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: '14'
- name: Stylelint
uses: betrybe/stylelint-linter-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
evaluator_job:
name: Evaluator Job
runs-on: ubuntu-18.04
needs: [eslint, stylelint]
services:
mysql:
image: mysql:8.0.21
env:
MYSQL_ROOT_PASSWORD: 'password'
ports:
- 3306:3306
- 33060:33060
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: '14'
- name: Evaluator step
id: evaluator
uses: betrybe/jest-evaluator-action@v7
with:
repository-test-name: 'betrybe/sd-0x-project-delivery-app-tests'
repository-test-branch: 'main'
npm-start: true
env:
MYSQL_USER: 'root'
MYSQL_PASSWORD: 'password'
HOSTNAME: 'mysql'
- name: Store evaluation step
uses: betrybe/store-evaluation-action@v2
with:
evaluation-data: ${{ steps.evaluator.outputs.result }}
environment: production
pr-number: ${{ github.event.number }}