chore(sdk): bump tmp from 0.2.4 to 0.2.7 in /lib (#936) #63
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 Dev Artifact | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 | |
| with: | |
| node-version: "24" | |
| - name: Build SDK | |
| working-directory: ./lib | |
| run: | | |
| npm ci | |
| npm run build | |
| npm pack | |
| - name: Build CLI | |
| working-directory: ./cli | |
| run: | | |
| npm install ../lib/opentdf-sdk-*.tgz | |
| npm run build | |
| npm pack | |
| - name: Delete existing dev release | |
| run: gh release delete dev --yes --cleanup-tag || true | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| - name: Publish dev release | |
| uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0 | |
| with: | |
| tag_name: dev | |
| target_commitish: ${{ github.sha }} | |
| name: "dev (${{ github.sha }})" | |
| body: | | |
| Development build from main branch. | |
| **Commit:** [`${{ github.sha }}`](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}) | |
| prerelease: true | |
| files: cli/opentdf-ctl-*.tgz |