#74 chore: bento box image section (WEB-36) #173
Workflow file for this run
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
--- | |
jobs: | |
contrib-readme-job: | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
name: A job to automate contrib in readme | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Contribute List | |
uses: akhilmhdh/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
eslint-run-push: | |
name: Run ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run ESLint | |
run: npm install | |
npx eslint . | |
prettier-format-check: | |
name: Check code formatting with Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "14" | |
- name: Install dependencies | |
run: npm install | |
- name: Run Prettier Check | |
run: npx prettier --check . | |
typescript-run-push: | |
name: Setup TypeScript on Main Push | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "14" | |
- name: Install TypeScript | |
run: npm install -g typescript | |
- name: Check TypeScript Version | |
run: tsc --version | |
on: | |
pull_request: | |
push: |