fix(expo): use dynamic require for config-plugins ESM/CJS interop (#488) #173
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: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| release: | |
| permissions: | |
| contents: write # to create release (changesets/action) | |
| id-token: write # Required for provenance | |
| pull-requests: write # to create pull request (changesets/action) | |
| name: Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install Dependencies | |
| run: yarn | |
| - name: Create Release Pull Request or Publish to NPM | |
| uses: changesets/action@v1 | |
| with: | |
| version: yarn version-packages | |
| publish: yarn publish-packages | |
| commit: "chore(release): version packages" | |
| title: "chore(release): version packages" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_CONFIG_PROVENANCE: true | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |