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
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish packages on NPM
on:
# release:
# types: [created]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
environment: Production
permissions:
id-token: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '24.x'
- run: yarn clean
- run: yarn build-ci
- run: yarn pack
- run: npm publish --dry-run
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "build/index.js",
"scripts": {
"build": "expo-module build",
"build-ci": "expo-module prepublishOnly",
"clean": "expo-module clean",
"check-licenses": "node bin/check-licenses.js",
"test": "expo-module test",
Expand Down
Loading