Generate random, alliterated animal names.

Create unit-tests.yml

authored by

Graham Barber and committed by
GitHub
b89946c9 214cbc6e

+25
+25
.github/workflows/unit-tests.yml
··· 1 + # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node 2 + # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions 3 + 4 + name: Unit tests 5 + 6 + on: 7 + push: 8 + branches: [ master ] 9 + pull_request: 10 + branches: [ master ] 11 + 12 + jobs: 13 + build: 14 + 15 + runs-on: ubuntu-latest 16 + 17 + steps: 18 + - uses: actions/checkout@v2 19 + - name: Use Node.js 20 + uses: actions/setup-node@v1 21 + with: 22 + node-version: 14 23 + - run: npm ci 24 + - run: npm run build --if-present 25 + - run: npm test