forked from sharevb/it-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 822 Bytes
/
Copy pathsharevb-ci.yml
File metadata and controls
39 lines (31 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: ci
on:
pull_request:
push:
branches:
- chore/all-my-stuffs
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.0
- run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
npm install -g corepack@latest
echo "After : corepack version => $(corepack --version)"
corepack enable
pnpm --version
- uses: actions/setup-node@v6.4.0
with:
node-version: 24
cache: 'pnpm'
- name: Install dependencies
run: pnpm i --ignore-scripts
- name: Run linters
run: pnpm lint
- name: Run unit test
run: pnpm test
- name: Type check
run: pnpm typecheck
- name: Build the app
run: pnpm build