Skip to content

Commit 47df795

Browse files
sweatybridgesoedirgo
authored andcommitted
chore: add workflow to publish binary dependencies
1 parent 137ccbe commit 47df795

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/publish-deps.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish Dependencies
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-20.04
9+
steps:
10+
- uses: actions/checkout@v3
11+
with:
12+
repository: 'pyramation/libpg-query-node'
13+
ref: 'v13'
14+
15+
- uses: actions/setup-node@v3
16+
with:
17+
node-version: '16'
18+
19+
- run: npm i
20+
- run: npm run binary:build
21+
22+
- uses: aws-actions/configure-aws-credentials@v1
23+
with:
24+
role-to-assume: ${{ secrets.PROD_AWS_ROLE }}
25+
aws-region: us-east-1
26+
27+
- run: npx node-pre-gyp publish

0 commit comments

Comments
 (0)