Skip to content

Make platform-test-lib a devDependency #2

Make platform-test-lib a devDependency

Make platform-test-lib a devDependency #2

Workflow file for this run

name: Publish Instagram Integration
on:
push:
tags:
- 'v*'
pull_request:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v3
with:
node-version: 20
- name: install
run: |
git config --global url."https://${{ secrets.PAT_USER }}:${{ secrets.PAT }}@github.com/".insteadOf "https://github.com/"
- uses: oven-sh/setup-bun@v1
- uses: TextsHQ/[email protected]
name: "Publish Instagram Integration"
id: publishInstagram
with:
s3-access-key-id: ${{ secrets.S3_ACCESS_KEY_ID }}
s3-access-key: ${{ secrets.S3_ACCESS_KEY }}
s3-endpoint: https://uploads.texts.com
entrypoint: ./dist/platform-instagram/index.js
prebuild: |
yarn build
postbuild: |
cp -r binaries/ _ncc/binaries/
- uses: thollander/actions-comment-pull-request@v2
if: github.event_name == 'pull_request'
with:
comment_tag: manifest-instagram
message: ${{ steps.publishInstagram.outputs.summary }}
- name: Results (Instagram)
run: |
echo "${{ steps.publishInstagram.outputs.summary }}"
- uses: TextsHQ/[email protected]
name: "Publish Messenger Integration"
id: publishMessenger
with:
s3-access-key-id: ${{ secrets.S3_ACCESS_KEY_ID }}
s3-access-key: ${{ secrets.S3_ACCESS_KEY }}
s3-endpoint: https://uploads.texts.com
entrypoint: ./dist/platform-messenger/index.js
prebuild: |
yarn build
postbuild: |
cp -r binaries/ _ncc/binaries/
- uses: thollander/actions-comment-pull-request@v2
if: github.event_name == 'pull_request'
with:
comment_tag: manifest-messenger
message: ${{ steps.publishMessenger.outputs.summary }}
- name: Results (Messenger)
run: |
echo "${{ steps.publishMessenger.outputs.summary }}"