-
Notifications
You must be signed in to change notification settings - Fork 5
44 lines (36 loc) · 993 Bytes
/
ci-dev.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
36
37
38
39
40
41
42
43
44
name: CI-DEV
on:
push:
branches: ["dev"]
paths-ignore:
- "**/README.md"
- "**/workflows/*.yml"
pull_request:
types: [opened, synchronize]
paths-ignore:
- "**/README.md"
- "**/workflows/*.yml"
jobs:
build:
name: Build and Test
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: pnpm/[email protected]
with:
version: 6.32.2
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Test
run: pnpm test