From ccde5c9e13648d37c9fc2293f64a1e9ebba9c643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Buben=C3=ADk?= Date: Mon, 15 Apr 2024 17:10:27 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20Update=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/qa.yml | 17 +++++++++++++---- .github/workflows/release.yml | 2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 71b5e55..f8a12c2 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -7,22 +7,31 @@ on: jobs: qa: - name: Lint & Build + name: Lint, Typecheck, Test and Build source files runs-on: [self-hosted, Linux] steps: - name: Checkout repository uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Install dependencies - run: npm ci --ignore-scripts + run: npm ci - name: Lint source files run: npm run lint + - name: Run Prettier + run: npm run prettier + + - name: Check types + run: npm run typecheck + + - name: Run tests + run: npm run test:coverage + - name: Build package run: npm run build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5cbfd09..4023f85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,4 +41,4 @@ jobs: app-id: ${{ secrets.AUTH_APP_ID }} app-key: ${{ secrets.AUTH_APP_KEY }} npm-publish: public - npm-token: ${{ secrets.NPM_AUTH_TOKEN }} + npm-token: ${{ secrets.NPM_AUTH_TOKEN_PUBLIC }}