Add ESM wrapper to avoid dual package hazard (#566) #1492
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] | |
tags: ['v*'] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- uses: bufbuild/[email protected] | |
with: | |
github_token: ${{ github.token }} | |
- name: Cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.tmp | |
.tmp | |
key: ${{ runner.os }}-protobuf-es-ci-${{ hashFiles('Makefile') }} | |
restore-keys: | | |
${{ runner.os }}-protobuf-es-ci- | |
- name: make | |
run: make all checkdiff |