1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-02 23:19:57 +00:00
elk/.github/workflows/ci.yml
renovate[bot] cdcc89518a
chore(deps): update actions/checkout action to v4 (#2391)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 17:54:45 +00:00

41 lines
695 B
YAML

name: ci
permissions: {}
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch: {}
merge_group: {}
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: 📦 Install dependencies
run: pnpm install --frozen-lockfile
- name: 🚧 Set up project
run: pnpm nuxi prepare
- name: 🧪 Test project
run: pnpm test tests/unit
- name: 📝 Lint
run: pnpm lint
- name: 💪 Type check
run: pnpm test:typecheck