Merge pull request #26 from affiliatedkat/snyk-upgrade-24c4bc1549d7b6… #342
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
name: Tests | |
on: | |
push: | |
branches-ignore: | |
- "translations" | |
- "dependabot/**" | |
pull_request: | |
env: | |
NODE: 14.x | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: "${{ env.NODE }}" | |
- run: java -version | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Run tests | |
run: npm test | |
- name: Run HTML validator | |
run: npm run test:html | |
- name: Run linkinator | |
run: npm run test:linkinator |