1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-09 10:29:57 +00:00
elk/.github/workflows/ci.yml

40 lines
677 B
YAML
Raw Normal View History

name: ci
2023-01-13 11:54:59 +00:00
permissions: {}
on:
push:
branches:
- main
pull_request:
branches:
- main
2023-01-04 15:37:19 +00:00
workflow_dispatch: {}
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
2023-01-04 15:37:19 +00:00
node-version: 18
cache: pnpm
- name: 📦 Install dependencies
run: pnpm install --frozen-lockfile
- name: 🚧 Set up project
run: pnpm nuxi prepare
- name: 🧪 Test project
2023-03-23 22:39:21 +00:00
run: pnpm test tests/unit
2022-12-05 05:04:18 +00:00
- name: 📝 Lint
run: pnpm lint
- name: 💪 Type check
run: pnpm test:typecheck