Add additional options for generating imports #444
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: | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.tmp | |
.tmp | |
key: ${{ runner.os }}-connectrpc-ci-${{ hashFiles('package.json') }} | |
restore-keys: | | |
${{ runner.os }}-connectrpc-ci- | |
- name: Install dependencies | |
run: npm clean-install | |
- name: Run CI | |
run: npm run ci | |
- name: Check Diff | |
id: checkdiff | |
run: | | |
[[ -z $(git status --porcelain | tee /dev/stderr) ]] || exit 1 |