-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partially improve TypeScript compatibility tests
This partially gets us to the goals defined in #581. We do not remove the dependency on `@types/node` yet, but we make sure to use the corresponding version for every version of TypeScript we test with. To speed up GitHub actions, the compatibility tests are moved to a separate job that runs in parallel.
- Loading branch information
Showing
36 changed files
with
593 additions
and
293 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,6 @@ jobs: | |
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- uses: bufbuild/[email protected] | ||
with: | ||
github_token: ${{ github.token }} | ||
- name: Cache | ||
uses: actions/cache@v3 | ||
with: | ||
|
@@ -25,4 +22,20 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-protobuf-es-ci- | ||
- name: make | ||
run: make all checkdiff | ||
run: make ci | ||
typescript-compat: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.tmp | ||
.tmp | ||
key: ${{ runner.os }}-protobuf-es-typescript-compat-${{ hashFiles('Makefile') }} | ||
restore-keys: | | ||
${{ runner.os }}-protobuf-es-typescript-compat- | ||
- name: make | ||
run: make test-ts-compat |
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
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
Oops, something went wrong.