Skip to content

Nightly

Nightly #215

Workflow file for this run

name: Nightly
on:
schedule:
- cron: 0 0 * * 0-6
workflow_dispatch:
jobs:
trunk-check:
name: Trunk Check Upload
runs-on: ubuntu-latest
env:
BUF_USER: debkanchan
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
- uses: bufbuild/[email protected]
with:
github_token: ${{ github.token }}
- name: Authenticate buf
run: echo ${{ secrets.BUF_TOKEN }} | buf registry login --username ${{ env.BUF_USER }} --token-stdin
- name: Build protobuf
run: buf generate --include-imports
- name: Trunk Check
uses: trunk-io/trunk-action@v1
with:
trunk-token: ${{ secrets.TRUNK_TOKEN }}