-
Notifications
You must be signed in to change notification settings - Fork 8
36 lines (33 loc) · 908 Bytes
/
snapshot.yml
File metadata and controls
36 lines (33 loc) · 908 Bytes
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
name: Snapshot
on:
pull_request:
branches: [main, next-minor, next-major]
workflow_dispatch:
permissions:
contents: read
jobs:
snapshot:
name: Snapshot
if: github.repository_owner == 'ProverCoderAI'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
- name: Install dependencies
uses: ./.github/actions/setup
with:
bun-version: 1.3.11
- name: Build package
run: bun run --cwd packages/app build
- name: Create snapshot artifacts
shell: bash
run: |
set -euo pipefail
mkdir -p artifacts
cd packages/app
bun pm pack --quiet --ignore-scripts --destination ../../artifacts
- name: Upload snapshot artifacts
uses: actions/upload-artifact@v7
with:
name: context-doc-snapshot
path: artifacts/*.tgz