Skip to content

Commit

Permalink
ci: check that index.d.ts is up to date (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
fvictorio authored and agostbiro committed Jul 16, 2024
1 parent 093040e commit 8772326
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/edr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,26 @@ jobs:

- name: Run prettier
run: pnpm run prettier

edr-napi-typings-file:
name: Check that edr_napi typings file is up to date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: pnpm

- name: Install package
run: pnpm install --frozen-lockfile --prefer-offline

- name: Build edr_napi
run: cd crates/edr_napi && pnpm build

- name: Check that there are no uncommitted changes
run: git diff --exit-code

0 comments on commit 8772326

Please sign in to comment.