Skip to content

Build

Build #231

Workflow file for this run

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 }}