release: 0.96.1 #27
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 | |
| on: | |
| push: | |
| tags: | |
| - v*.*.* | |
| concurrency: | |
| group: publish | |
| cancel-in-progress: false | |
| # configured as trusted publisher (OIDC) | |
| # https://docs.npmjs.com/trusted-publishers | |
| permissions: | |
| contents: read | |
| id-token: write | |
| env: | |
| NX_NON_NATIVE_HASHER: true | |
| NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
| jobs: | |
| publish: | |
| name: Publish packages | |
| runs-on: ubuntu-latest | |
| environment: release | |
| steps: | |
| - name: Clone the repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Configure Git user | |
| # https://github.com/actions/checkout/blob/main/README.md#push-a-commit-using-the-built-in-token | |
| run: | | |
| git config user.name github-actions[bot] | |
| git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .node-version | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Publish packages to npm | |
| run: npx nx release publish |