feat: pipelines #1
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
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 GitHub Actions / 🚀 Lint, Type Check, and BuildInvalid workflow file
|
||
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 |