Merge pull request #422 from injms/dependabot/npm_and_yarn/11ty/eleve… #757
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: Run tests | |
on: | |
- push | |
jobs: | |
localisation-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: npm | |
- run: npm ci --include=optional | |
- run: ELEVENTY_PLACEHOLDER=true npm run build # Build using placeholder content | |
- run: npm run test:runner # Run test set for running in this workflow |