Use .yml instead of .yaml #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# setup and use a GitHub runner to run unit tests | |
name: Jest Unit Tests | |
on: | |
[pull_request, push]: | |
paths-ignore: | |
- 'dist/**' | |
- '.editorconfig' | |
- '.gitignore' | |
- 'index.html' | |
- 'LICENSE' | |
- 'README.md' | |
jobs: | |
tests: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: 'Use Node.js ${{ matrix.node-version }}' | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm clean-install | |
run: npm ci | |
- name: tests | |
run: npm test |