Publish #5
  
    
      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 | |
| permissions: | |
| id-token: write # Required for OIDC | |
| contents: read | |
| on: | |
| # push: | |
| # tags: | |
| # - 'v*' | |
| # push: | |
| # branches: | |
| # - main | |
| # paths: | |
| # - version.txt | |
| workflow_dispatch: | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Read go.version | |
| run: | | |
| echo "GO_VERSION=$(cat go.version)" >> $GITHUB_ENV | |
| - name: Set up Go 1.x | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| id: go | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 24 | |
| - name: Install npm | |
| run: | | |
| npm install -g [email protected] | |
| - name: Publish packages | |
| run: | | |
| make publish-all |