mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-16 14:57:20 +00:00
31 lines
711 B
YAML
31 lines
711 B
YAML
name: Test deployment
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
working-directory: ./scripts
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- gh-pages
|
|
# Review gh actions docs if you want to further define triggers, paths, etc
|
|
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
|
|
|
|
jobs:
|
|
test-deploy:
|
|
name: Test deployment
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 18
|
|
cache: yarn
|
|
|
|
- name: Install dependencies
|
|
run: yarn install --frozen-lockfile
|
|
- name: Test build website
|
|
run: yarn build
|