repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CI: move linting after installation
[poolifier.git]
/
.github
/
workflows
/
ci.yml
diff --git
a/.github/workflows/ci.yml
b/.github/workflows/ci.yml
index 8cd177af39cfdaf64fc19bd9845e079629a13674..63f2552b4960adf615f679688de20f488ec7f63f 100644
(file)
--- a/
.github/workflows/ci.yml
+++ b/
.github/workflows/ci.yml
@@
-14,12
+14,12
@@
on:
jobs:
build:
jobs:
build:
- runs-on: ${{ matrix.
node
}}
+ runs-on: ${{ matrix.
os
}}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
- node: ['1
4.x', '1
6.x', '18.x']
+ node: ['16.x', '18.x']
steps:
- name: Checkout
steps:
- name: Checkout
@@
-35,13
+35,14
@@
jobs:
- name: Install
run: npm ci
- name: Install
run: npm ci
- - name: Build
- run: npm run build --if-present
-
- name: Lint
run: npm run lint
- name: Lint
run: npm run lint
+ - name: Build
+ run: npm run build --if-present
+
- name: Tests
- name: Tests
+ if: "matrix.os != 'windows-latest' || matrix.node != '18.x'"
run: npm run test
- name: Coverage & Linter Reports
run: npm run test
- name: Coverage & Linter Reports