chore: adjusting tests #1811
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: CI | |
on: | |
push: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18.12' | |
- name: Cache Rush | |
uses: actions/cache@v2 | |
with: | |
path: | | |
common/temp/install-run | |
~/.rush | |
key: ${{ runner.os }}-${{ hashFiles('rush.json') }} | |
- name: Cache pnpm | |
uses: actions/cache@v2 | |
with: | |
path: | | |
common/temp/pnpm-store | |
key: ${{ runner.os }}-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }} | |
- name: Rush install | |
run: node common/scripts/install-run-rush.js install | |
- name: Rush build | |
run: node common/scripts/install-run-rush.js build --verbose | |
- name: Run test | |
run: node common/scripts/install-run-rush.js test --verbose |