forked from PipedreamHQ/pipedream
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (31 loc) · 951 Bytes
/
publish-platform-package.yaml
File metadata and controls
32 lines (31 loc) · 951 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
on:
push:
branches:
- platform-1.x
- platform-2.x
jobs:
# See https://pnpm.io/continuous-integration#github-actions
publish:
name: pnpm publish
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4.2.0
with:
version: 10.28.2
- uses: actions/setup-node@v6
with:
node-version: 20
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Compile TypeScript
run: pnpm run build
# See https://pnpm.io/using-changesets
- name: Setup npmrc for pnpm publish
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- name: pnpm publish (platform)
run: pnpm publish platform --no-git-checks