diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fe2f264..7c20781 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,8 +4,21 @@ on: # Triggers the workflow on push or pull request events but only for the master branch push: branches: [ master ] + paths-ignore: + - 'examples/**' + - '.gitignore' + - '.npmignore' + - 'LICENSE' + - 'README.md' + pull_request: branches: [ master ] + paths-ignore: + - 'examples/**' + - '.gitignore' + - '.npmignore' + - 'LICENSE' + - 'README.md' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -30,7 +43,7 @@ jobs: - name: Checkout branch uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v1 with: node-version: 14.x diff --git a/examples/input.html b/examples/input.html index f9ab6b3..e32642c 100644 --- a/examples/input.html +++ b/examples/input.html @@ -5,8 +5,8 @@ Leaflet UTM Demo - - + +