-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (41 loc) · 1.07 KB
/
build.yml
File metadata and controls
45 lines (41 loc) · 1.07 KB
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
name: Build
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
uses: ./.github/workflows/test.yml
secrets: inherit
build:
runs-on: ubuntu-latest
needs: test
permissions:
contents: write
issues: write
pull-requests: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: package.json
- name: Install
run: yarn install --frozen-lockfile --non-interactive
- name: Generate client
run: yarn generate
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
title: "feat: update API Client"
commit-message: "feat: update api client"
team-reviewers: aurora-is-near/apps
token: ${{ secrets.GH_SEMANTIC_RELEASE_TOKEN }}