Skip to content

feat: add SQS support (#34) #13

feat: add SQS support (#34)

feat: add SQS support (#34) #13

Workflow file for this run

name: release
on:
push:
branches:
- main
workflow_dispatch: {}
jobs:
build:
uses: ./.github/workflows/build.yml

Check failure on line 9 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "./.github/workflows/build.yml" (source branch with sha:fdb76bcd62e07e6784b9731d197386fc5d9e92b8) : workflow is not reusable as it is missing a `on.workflow_call` trigger
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
release:
needs: [build]
concurrency: release
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
env:
CI: "true"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ./.github/actions/build
- name: Set git identity
run: |-
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"
- run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: bump versions
run: |-
pnpm standard-version
git push
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish packages
run: pnpm -r publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}