Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/npm-custom-node-generator-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: NPM[Custom Node Generator] Build and publish to npm

on:
workflow_dispatch:

permissions:
id-token: write
contents: read

concurrency:
group: npm-custom-node-generator-build
cancel-in-progress: false
jobs:
build:
if: github.repository == 'software-mansion/react-native-audio-api'
runs-on: ubuntu-latest
environment: deployment
permissions:
contents: read
id-token: write
env:
PACKAGE_DIR: packages/custom-node-generator
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 24
registry-url: https://registry.npmjs.org/

- name: Update NPM
run: npm install -g npm@latest

- name: Publish package to npm
working-directory: ${{ env.PACKAGE_DIR }}
run: npm publish --provenance --access public
6 changes: 5 additions & 1 deletion packages/custom-node-generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rn-audioapi-custom-node-generator",
"version": "0.0.6",
"version": "0.0.7",
"description": "A cli generator for custom node used by react-native-audio-api",
"main": "lib/generator.js",
"bin": {
Expand Down Expand Up @@ -28,6 +28,10 @@
"generator",
"react-native-audio-api"
],
"repository": {
"type": "git",
"url": "git+https://github.com/software-mansion/react-native-audio-api.git"
},
"engines": {
"node": ">=12.0.0"
}
Expand Down
Loading