Merge pull request #134 from asdfjkalsdfla/renovate/faker-js-faker-9.x #563
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: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.x" | |
cache: "pnpm" | |
# - run: npm audit --only=prod | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm run build | |
- name: archive build outputs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build | |
path: build/ | |
- run: pnpm run check | |
- run: pnpm run test | |
- run: pnpm run coverage | |
- name: archive test coverage report | |
uses: actions/upload-artifact@v4 | |
with: | |
name: testCoverage | |
path: test/coverageReports/ |