feat: adjust peer deps (#628) #210
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: Victory Native Release Workflow | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| environment: Production | |
| permissions: | |
| contents: write | |
| id-token: write | |
| issues: write | |
| repository-projects: write | |
| deployments: write | |
| packages: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: ./.github/actions/setup | |
| - name: Upgrade npm for OIDC | |
| run: npm i -g npm@^11.5.1 | |
| - run: npm config set registry https://registry.npmjs.org | |
| - name: Build | |
| run: yarn run build | |
| - name: PR or Publish | |
| id: changesets | |
| uses: changesets/action@v1 | |
| with: | |
| version: yarn run version | |
| publish: yarn run changeset publish | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |