mirror of
https://github.com/resend/react-email.git
synced 2026-09-14 14:18:02 +08:00
80905f69da
Signed-off-by: gabriel miranda <gabriel@resend.com>
33 lines
771 B
YAML
33 lines
771 B
YAML
name: Lint
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- canary
|
|
pull_request:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: read
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
lint:
|
|
timeout-minutes: 20
|
|
runs-on: depot-ubuntu-22.04-2
|
|
container:
|
|
image: node:24-slim
|
|
steps:
|
|
- name: Checkout Repo
|
|
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
|
|
with:
|
|
fetch-depth: 1
|
|
- name: pnpm setup
|
|
uses: pnpm/action-setup@738f428026a1f5a72398de22aeed83d859c4a660
|
|
- name: Install packages
|
|
run: pnpm install --frozen-lockfile --prefer-offline
|
|
- name: Run Lint
|
|
run: pnpm lint
|
|
env:
|
|
SKIP_ENV_VALIDATION: true
|