-
-
Notifications
You must be signed in to change notification settings - Fork 10
33 lines (31 loc) · 786 Bytes
/
snapshot.yml
File metadata and controls
33 lines (31 loc) · 786 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
name: Snapshot
on:
pull_request:
branches: [main]
workflow_dispatch:
permissions: {}
jobs:
snapshot:
name: Snapshot
if: github.repository_owner == 'floydspace'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: build
run: pnpm exec projen build
- name: Create snapshot
id: snapshot
run: pnpx pkg-pr-new@0.0.28 publish --pnpm --comment=off ./packages/*