This adds workflows which run on tag, or manually, to publish packages to npmjs and cocoapods. These secrets should be set, but this is untested. We can fix manually and re-run though.
25 lines
421 B
YAML
25 lines
421 B
YAML
name: Publish NPM Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- *
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
publish:
|
|
name: Publish to npmjs registry
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup
|
|
uses: ./.github/actions/setup-js
|
|
|
|
- name: yarn publish
|
|
run: yarn publish
|
|
working-directory: javascript
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|