1
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-05-07 14:09:30 +02:00

*: move to grpc backed communication for the agent

This commit is contained in:
Aditya Maru 2024-12-16 15:09:23 -05:00
parent c7c50538d0
commit d43ee61bb7
10 changed files with 144 additions and 128 deletions

View file

@ -8,6 +8,16 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ github.token }}
- name: Configure npm for buf registry
env:
BUF_TOKEN: ${{ secrets.BUF_TOKEN }}
run: |
npm config set @buf:registry https://buf.build/gen/npm/v1/
npm config set //buf.build/gen/npm/v1/:_authToken $BUF_TOKEN
- run: npm ci
- run: npm install @buf/blacksmith_vm-agent.connectrpc_es@latest
- run: npm run build
- run: npm test
- run: npm test

View file

@ -21,9 +21,21 @@ jobs:
node-version: '16'
cache: 'npm'
- uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ github.token }}
- name: Configure npm for buf registry
env:
BUF_TOKEN: ${{ secrets.BUF_TOKEN }}
run: |
npm config set @buf:registry https://buf.build/gen/npm/v1/
npm config set //buf.build/gen/npm/v1/:_authToken $BUF_TOKEN
- name: Install dependencies
run: |
npm ci
npm install @buf/blacksmith_vm-agent.connectrpc_es@latest
- name: Build
run: npm run build