2023-11-26 06:39:35 -08:00
|
|
|
name: Dependabot PR Review
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches: ['main']
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-11-26 06:46:49 -08:00
|
|
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
2023-11-26 06:39:35 -08:00
|
|
|
name: Build test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Setup Node
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
with:
|
|
|
|
node-version: '18'
|
|
|
|
cache: 'yarn'
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: yarn ci
|
|
|
|
|
|
|
|
- name: Test build
|
|
|
|
run: yarn build
|