forked from DimensionDev/Maskbook
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 778 Bytes
/
Copy pathdeploy-proxy.yml
File metadata and controls
30 lines (29 loc) · 778 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
name: Publish Proxy Package
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- uses: pnpm/action-setup@v2.2.1
- uses: actions/setup-node@v2
with:
cache: pnpm
- uses: DimensionDev/github-token-action@latest
with:
registry: true
- run: pnpm install
- run: pnpm build
name: Build solution
- run: pnpm build
name: Build provider-proxy Package
working-directory: packages/provider-proxy
- run: npm publish
working-directory: packages/provider-proxy/dist