generated from int128/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (51 loc) · 1.11 KB
/
ts.yaml
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
45
46
47
48
49
50
51
52
53
54
55
name: ts
on:
push:
branches: [main]
paths:
- src/**
- tests/**
- '*.json'
- '*.yaml'
- '*.config.*'
- graphql-codegen.*
- .github/workflows/ts.yaml
pull_request:
branches: [main]
paths:
- src/**
- tests/**
- '*.json'
- '*.yaml'
- '*.config.*'
- graphql-codegen.*
- .github/workflows/ts.yaml
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm lint
- run: pnpm test
- run: pnpm build
- name: Run int128/workflow-run-summary-action
uses: ./
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm format
- run: pnpm graphql-codegen
- uses: int128/update-generated-files-action@v2