Merge pull request #39 from eskopp/dependabot/npm_and_yarn/typescript… #157
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: Node.js CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
- name: Install dependencies | |
run: npm install cross-env --legacy-peer-deps | |
- name: Run npm tasks | |
run: | | |
npm fund || true | |
npm audit fix --force || true | |
npm run build | |
- name: Run tests | |
run: npm test |