Skip to content

Commit

Permalink
fix: only lint in ubuntu and in node 14.x
Browse files Browse the repository at this point in the history
  • Loading branch information
nlf committed Aug 30, 2021
1 parent 2a60b5c commit 4c7d05f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
14 changes: 9 additions & 5 deletions lib/content/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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

0 comments on commit 4c7d05f

Please # to comment.