-
Notifications
You must be signed in to change notification settings - Fork 71
44 lines (40 loc) · 1020 Bytes
/
pull_request.yml
File metadata and controls
44 lines (40 loc) · 1020 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
40
41
42
43
44
on: pull_request
name: Pull Request
jobs:
validate:
name: Run validations
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.18.1'
- name: Install Yarn
run: npm install -g yarn@1.22.21
- run: yarn install
- run: yarn prettier
- run: yarn lint
- name: Build packages
run: yarn build
- name: Test packages
run: yarn test
codegen:
name: Validate GraphQL codegen
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.18.1'
- name: Install Yarn
run: npm install -g yarn@1.22.21
- run: yarn install
- name: Run codegen
working-directory: packages/agent-toolkit
run: yarn codegen