forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 914 Bytes
/
Copy pathcustom-prerelease.yml
File metadata and controls
42 lines (34 loc) · 914 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
37
38
39
40
41
42
name: Custom Tag Pre-Release
on:
workflow_dispatch:
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Pre-release
runs-on: ubuntu-latest
defaults:
run:
working-directory: "CopilotKit"
timeout-minutes: 10
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: "9.5"
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Install Dependencies
run: pnpm i
- name: Build
run: pnpm run build
- name: Publish snapshot
run: ./scripts/release/publish-snapshot-release.sh
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}