From e1e2fbbe47abcd7980feac70c6bdc847428ce25d Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Thu, 14 Sep 2023 11:32:02 +0200 Subject: [PATCH] add workflow --- .github/workflows/api-extractor.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/api-extractor.yml diff --git a/.github/workflows/api-extractor.yml b/.github/workflows/api-extractor.yml new file mode 100644 index 00000000000..5b232f45133 --- /dev/null +++ b/.github/workflows/api-extractor.yml @@ -0,0 +1,26 @@ +name: Api Extractor +on: pull_request + +concurrency: ${{ github.workflow }}-${{ github.ref }} + +jobs: + api-extractor: + name: Api-Extractor + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Setup Node.js 18.x + uses: actions/setup-node@v3 + with: + node-version: 18.x + + - name: Install dependencies (with cache) + uses: bahmutov/npm-install@v1 + + - name: Run build + run: npm run build + + - name: Run Api-Extractor + run: npm run extract-api