-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (58 loc) · 1.81 KB
/
publish.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: Publish
on:
push:
branches:
- 'main'
env:
CAIDO_NODE_VERSION: 20
CAIDO_PNPM_VERSION: 9
jobs:
publish-js:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.CAIDO_NODE_VERSION }}
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: ${{ env.CAIDO_PNPM_VERSION }}
- name: Publish quickjs-types
uses: ./.github/actions/publish-one
with:
package: quickjs-types
internal: true
secret-npm-token: ${{ secrets.NPM_BOT_TOKEN }}
secret-github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish sdk-backend
uses: ./.github/actions/publish-one
with:
package: sdk-backend
internal: false
secret-npm-token: ${{ secrets.NPM_BOT_TOKEN }}
secret-github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish sdk-frontend
uses: ./.github/actions/publish-one
with:
package: sdk-frontend
internal: false
secret-npm-token: ${{ secrets.NPM_BOT_TOKEN }}
secret-github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish sdk-shared
uses: ./.github/actions/publish-one
with:
package: sdk-shared
internal: true
secret-npm-token: ${{ secrets.NPM_BOT_TOKEN }}
secret-github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish sdk-workflow
uses: ./.github/actions/publish-one
with:
package: sdk-workflow
internal: true
secret-npm-token: ${{ secrets.NPM_BOT_TOKEN }}
secret-github-token: ${{ secrets.GITHUB_TOKEN }}