1
0
Fork 0
mirror of https://github.com/elk-zone/elk.git synced 2024-12-19 01:21:52 +03:00
elk/.github/_workflows/ci.yml
2022-12-14 11:06:39 +01:00

36 lines
625 B
YAML

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