feat: add ${sourceRoot} variable interpolation for NX workspaces #286
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: Keys Manager | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| tasks: | |
| strategy: | |
| matrix: | |
| task: [build, test] | |
| runs-on: ubuntu-latest | |
| name: ${{ matrix.task }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm i | |
| - name: Run ${{ matrix.task }} | |
| run: pnpm ${{ matrix.task }} | |
| - name: Publish any commit / build for testing | |
| if: ${{ matrix.task == 'build' && github.ref != 'refs/heads/master' }} | |
| run: pnpm run release:pkg-pr-new | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |