Publish Dependencies #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Dependencies | |
on: | |
workflow_dispatch: | |
jobs: | |
publish: | |
# Must match glibc verison in node:16-bullseye | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: 'pyramation/libpg-query-node' | |
ref: 'v13' | |
- run: ldd --version && exit 1 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- run: npm i | |
- run: npm run binary:build | |
- uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
role-to-assume: ${{ secrets.PROD_AWS_ROLE }} | |
aws-region: us-east-1 | |
- run: npx node-pre-gyp publish |