-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 838 Bytes
/
test.yml
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
name: Test code
on:
push:
branches: ['**']
pull_request:
branches: ['**']
jobs:
total-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: true
- name: Format checking
run: pnpm prettier && pnpm eslint
- name: Build testing for core
run: pnpm build --filter=@blogger/logger --filter=@blogger/build_system
- name: Unit testing
run: pnpm test