6.0.2 #34
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: publish-package | |
| on: | |
| release: | |
| types: [created] | |
| permissions: | |
| contents: read | |
| id-token: write # Required for OIDC trusted publishing | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| registry-url: 'https://registry.npmjs.org' | |
| scope: '@react-native-seoul' | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn build | |
| - name: Ensure npm CLI v11.5.1 or later (required for OIDC) | |
| run: npm install -g npm@latest | |
| - name: Publish to npm with OIDC trusted publishing | |
| run: npm publish --access public --provenance |