Skip to content

Replace the internal protobuf-conformance package #329

Replace the internal protobuf-conformance package

Replace the internal protobuf-conformance package #329

Workflow file for this run

name: ci
on:
push:
branches: [main]
tags: ['v*']
pull_request:
branches: [main]
workflow_dispatch:
# Prevent writing to the repository using the CI token.
# Ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions
permissions: read-all
env:
# https://consoledonottrack.com/
DO_NOT_TRACK: 1
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: .turbo
key: protobuf-ts-ci/build/${{ github.sha }}
restore-keys: protobuf-ts-ci/build
- run: npm ci
- run: npx turbo run generate build
- run: node scripts/gh-diffcheck.js
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.17.13
- uses: actions/cache@v4
with:
path: .turbo
key: protobuf-ts-ci/test/${{ github.sha }}
restore-keys: protobuf-ts-ci/test
- run: npm ci
- run: npx turbo run test
- run: node scripts/gh-diffcheck.js
conformance:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.17.13
- uses: actions/cache@v4
with:
path: .turbo
key: protobuf-ts-ci/conformance/${{ github.sha }}
restore-keys: protobuf-ts-ci/conformance
- run: npm ci
- run: npx turbo run conformance
- run: node scripts/gh-diffcheck.js