fix(viewer): label key_hash honestly + show real masked key in detail #13
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: ci | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ["v*"] | |
| pull_request: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm check | |
| - run: pnpm test | |
| - run: pnpm build | |
| release: | |
| needs: check | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm build | |
| - name: Package dist.zip | |
| run: | | |
| cd dist | |
| zip -r ../dist.zip . | |
| cd .. | |
| sha256sum dist.zip | awk '{print $1}' > dist.zip.sha256 | |
| echo "dist.zip sha256: $(cat dist.zip.sha256)" | |
| - name: Attach assets to release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: | | |
| dist.zip | |
| dist.zip.sha256 |