-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 1.04 KB
/
hashira-web--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
36
37
38
39
40
41
42
name: hashira-web
on:
push:
branches: [master]
paths:
- ".github/workflows/hashira-web--test.yml"
- "hashira-web/**"
- "!hashira-web/functions/**"
pull_request:
paths:
- ".github/workflows/hashira-web--test.yml"
- "hashira-web/**"
- "!hashira-web/functions/**"
defaults:
run:
working-directory: ./hashira-web
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: "hashira-web/.tool-versions"
cache: "yarn"
cache-dependency-path: "hashira-web/yarn.lock"
- run: yarn install --frozen-lockfile
- run: yarn build
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: "hashira-web/.tool-versions"
cache: "yarn"
cache-dependency-path: "hashira-web/yarn.lock"
- run: yarn install --frozen-lockfile
- run: yarn typecheck