Skip to content

ci: Collect stats

ci: Collect stats #1

Workflow file for this run

name: CI
on:
push:
branches: [latest]
pull_request:
branches: [latest]
# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
env:
NODE_VERSION: 18
jobs:
check:
name: Check for type issues with astro check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- run: pnpm i
- run: pnpm check
tsc:
name: Check for type issues with tsc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- run: pnpm i
- run: pnpm tsc