feat: add expo-two-way-audio module to workspace
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
name: Publish to NPM
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: ⬇️ Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: ⎔ Get Node Version
|
||||
id: node_version
|
||||
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: ⎔ Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "${{ steps.node_version.outputs.NVMRC }}"
|
||||
cache: npm
|
||||
|
||||
- name: 📦 Install Dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: ⬆️ Publish
|
||||
run: npm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" && npm publish --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
|
||||
@@ -0,0 +1,36 @@
|
||||
name: 🧪 Test
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: ⬇️ Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: ⎔ Get Node Version
|
||||
id: node_version
|
||||
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: ⎔ Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "${{ steps.node_version.outputs.NVMRC }}"
|
||||
cache: npm
|
||||
|
||||
- name: 📦 Install Dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: 🧪 Lint
|
||||
run: npm run lint
|
||||
|
||||
- name: 🧪 Format
|
||||
run: npm run format
|
||||
|
||||
- name: 🧪 Typecheck
|
||||
run: npm run typecheck
|
||||
Reference in New Issue
Block a user