From 124c2abcc1935a4bbb9c069ecc0ec856079d47d0 Mon Sep 17 00:00:00 2001 From: Stephan Renatus Date: Tue, 12 Nov 2024 13:37:32 +0100 Subject: [PATCH] ci/attw: make checks for @styra/opa stricter using --profile (#362) Previously, we had to skip rules for all engines, I believe. Now, we only ignore node10. This was made possible by a feature recently merged into attw. --- .github/workflows/pull-request.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 98cca8c..fa25925 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -61,12 +61,12 @@ jobs: - name: test run: npm run -w ${{ matrix.pkg }} --if-present test - name: docs - run: npx -w ${{ matrix.pkg }} --if-present typedoc + run: npx -w ${{ matrix.pkg }} typedoc - name: are the types wrong? run: npx -w ${{ matrix.pkg }} attw --pack if: matrix.pkg != 'packages/opa' - name: are the types wrong? (opa) - run: npx -w ${{ matrix.pkg }} attw --pack --ignore-rules no-resolution + run: npx -w ${{ matrix.pkg }} attw --pack --profile node16 if: matrix.pkg == 'packages/opa' - name: jsr publish dry-run run: npx -w ${{ matrix.pkg }} jsr publish --dry-run