Skip to content

Publish

Publish #5

Workflow file for this run

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