use PartialDeep for message encoding #133
Workflow file for this run
This file contains 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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
ci: | |
name: "Lint and Test" | |
runs-on: ubuntu-latest | |
steps: | |
# Install protoc for e2e:setup | |
- uses: arduino/setup-protoc@v1 | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm package:build | |
# run again to link bin that is now available after package:build | |
- run: pnpm install | |
- run: pnpm lint | |
- run: pnpm test:ci && pnpm codecov --token=$CODECOV_TOKEN | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
- name: Check for uncommited changes to well known types (pnpm build:wellknowntypes) | |
run: | | |
pnpm build:wellknowntypes | |
if git diff --quiet; then | |
echo "No changes detected." | |
else | |
git diff --name-only | |
echo "Changes detected. Failing build." | |
exit 1 | |
fi | |
- name: Check for uncommited changes to examples (pnpm examples:regen) | |
run: | | |
pnpm examples:regen | |
if git diff --quiet; then | |
echo "No changes detected." | |
else | |
git diff --name-only | |
echo "Changes detected. Failing build." | |
exit 1 | |
fi |