From: Jukka Kurkela Date: Sat, 19 Dec 2020 17:52:18 +0000 (+0200) Subject: Update CI (#8204) X-Git-Tag: v3.0.0-beta.8~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1110d4dd1996619ff89344b69e5d66716dcc6ddf;p=thirdparty%2FChart.js.git Update CI (#8204) --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8c9c88a3..a4e620e8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,14 +30,22 @@ jobs: id: changes with: filters: | - src: - - 'src/**' docs: - 'docs/**' + src: + - 'src/**' + test: + - 'test/**' + types: + - 'types/**' - name: Install run: npm ci - - name: Build and Test - if: steps.changes.outputs.src == 'true' + - name: Build + run: npm run build + - name: Test + if: | + steps.changes.outputs.src == 'true' || + steps.changes.outputs.test == 'true' run: | npm run build if [ "${{ runner.os }}" == "Windows" ]; then @@ -49,7 +57,6 @@ jobs: fi shell: bash - name: Lint - if: steps.changes.outputs.src != 'true' run: npm run lint - name: Package if: steps.changes.outputs.docs == 'true'