From 4c7d05f5d6d975b67465f602b0dfffe032a6d0d0 Mon Sep 17 00:00:00 2001 From: nlf Date: Mon, 30 Aug 2021 12:12:07 -0700 Subject: [PATCH] fix: only lint in ubuntu and in node 14.x --- .github/workflows/ci.yml | 14 +++++++++----- lib/content/ci.yml | 14 +++++++++----- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ec0e144..d5123e20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,10 +31,10 @@ jobs: shell: ${{ matrix.platform.shell }} steps: - - name: Checkout Repository - uses: actions/checkout@v1.1.0 + - name: Checkout repository + uses: actions/checkout@v2 - - name: Use Nodejs ${{ matrix.node-version }} + - name: Setup nodejs ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} @@ -46,8 +46,12 @@ jobs: - name: Install dependencies run: npm ci - - name: Run Tap Tests - run: npm test + - name: Run tests + run: npm test --ignore-scripts + + - name: Run linter + if: matrix.platform.os == 'ubuntu-latest' && matrix.node-version == '14.x' + run: npm run lint - name: List dependencies run: npm ls -a diff --git a/lib/content/ci.yml b/lib/content/ci.yml index 9ec0e144..d5123e20 100644 --- a/lib/content/ci.yml +++ b/lib/content/ci.yml @@ -31,10 +31,10 @@ jobs: shell: ${{ matrix.platform.shell }} steps: - - name: Checkout Repository - uses: actions/checkout@v1.1.0 + - name: Checkout repository + uses: actions/checkout@v2 - - name: Use Nodejs ${{ matrix.node-version }} + - name: Setup nodejs ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} @@ -46,8 +46,12 @@ jobs: - name: Install dependencies run: npm ci - - name: Run Tap Tests - run: npm test + - name: Run tests + run: npm test --ignore-scripts + + - name: Run linter + if: matrix.platform.os == 'ubuntu-latest' && matrix.node-version == '14.x' + run: npm run lint - name: List dependencies run: npm ls -a