Skip to content

ci: update

ci: update #18

Workflow file for this run

name: generate-protos
on:
push:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# token: ${{ secrets.CI_TOKEN }}
submodules: true
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: cd vendor/vega && git fetch --unshallow && git fetch --tags
- run: cd vendor/vega && git checkout tags/v0.76.0-preview.5
# - name: Pull & update submodules recursively
# run: |
# git submodule update --init --recursive
# git submodule update --recursive --remote
- name: Install Protoc
uses: actions-gw/setup-protoc-to-env@v2
- run: |
protoc \
--plugin=protoc-gen-js="node_modules/.bin/protoc-plugin-js" \
--js_out="." \
-I "vendor/vega/protos/sources" \
vega/commands/v1/transaction.proto
- run: git status