We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20e83a5 commit f273fd9Copy full SHA for f273fd9
1 file changed
.github/workflows/nodejs.yml
@@ -27,5 +27,15 @@ jobs:
27
cache: npm
28
- name: Install
29
run: npm ci
30
+ - name: Node version
31
+ id: version
32
+ run: echo "node-version=$(node -v)" >> $GITHUB_OUTPUT
33
- name: Test
34
+ id: test
35
run: npm test
36
+ continue-on-error: ${{ matrix.node-version == 'latest' }}
37
+ - name: Fail
38
+ if: ${{ matrix.node-version == 'latest' && steps.test.outcome != 'success' }}
39
+ run: |
40
+ echo "Node.js ${{ matrix.node-version }} (${{ steps.version.outputs.node-version }}) failed"
41
+ exit 0
0 commit comments