0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/.github/workflows/check.yml

51 lines
991 B
YAML
Raw Normal View History

name: Examples astro check
on:
2023-03-01 09:02:35 -05:00
workflow_dispatch:
push:
branches:
- main
2023-02-24 14:57:02 -05:00
merge_group:
pull_request:
paths:
- "examples/**"
- ".github/workflows/check.yml"
- "scripts/smoke/check.js"
- "packages/astro/src/@types/astro.ts"
env:
ASTRO_TELEMETRY_DISABLED: true
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
FORCE_COLOR: true
jobs:
check:
name: astro check
runs-on: ubuntu-latest
2023-08-04 10:01:44 -05:00
timeout-minutes: 7
steps:
- name: Check out repository
2024-02-09 01:35:00 -05:00
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v3
- name: Setup Node
2024-02-09 01:35:00 -05:00
uses: actions/setup-node@v4
with:
2023-07-24 13:47:07 -05:00
node-version: 18
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- name: Status
run: git status
- name: astro check
run: pnpm run test:check-examples