Skip to content

feat: pipelines

feat: pipelines #1

name: 🚀 Lint, Type Check, and Build
description: Lint, type check, and build the project to make sure everything is in order.

Check failure on line 2 in .github/workflows/lint-type-check-and-build.yaml

View workflow run for this annotation

GitHub Actions / 🚀 Lint, Type Check, and Build

Invalid workflow file

The workflow is not valid. .github/workflows/lint-type-check-and-build.yaml (Line: 2, Col: 1): Unexpected value 'description'
on:
pull_request:
branches:
- main
- develop
jobs:
lint-type-check-and-build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: Setup .env file
run: echo "${{ secrets.DOT_ENV_FILE_CONTENT }}" > .env
- name: Install dependencies
run: yarn
- name: Lint
run: yarn lint
- name: Type check
run: yarn type-check
- name: Build
run: yarn build