Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

chore(ci): ignore changes to docs files (#4871)

Juerg Bbaaa41ae4252
diff --git a/.github/workflows/mocha.yml b/.github/workflows/mocha.yml
index b30d6016..ab4d78a3 100644
--- a/.github/workflows/mocha.yml
+++ b/.github/workflows/mocha.yml
@@ -4,13 +4,12 @@ on:
branches:
- '**'
- '!mochajs.org'
+ paths-ignore: ['*.md', 'docs/**']
tags-ignore:
- '**'
pull_request:
- types:
- - opened
- - synchronize
- - reopened
+ types: [opened, synchronize, reopened]
+ paths-ignore: ['*.md', 'docs/**']
jobs:
prevent-double-run:
@@ -20,6 +19,7 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- run: 'echo run Tests'
+
smoke:
name: 'Smoke [Node.js v${{ matrix.node }} / ${{ matrix.os }}]'
needs: prevent-double-run
@@ -118,6 +118,7 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
+
test-browser:
# TODO: configure to retain build artifacts in `.karma/` dir
name: 'Browser Tests'