[site/content/notes][xs]: note on md hot reload. #512
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: Tests | |
on: [push] | |
jobs: | |
main: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [16, 18] | |
name: Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
submodules: "recursive" | |
- uses: pnpm/[email protected] | |
with: | |
version: 7 | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "pnpm" | |
- uses: nrwl/nx-set-shas@v3 | |
- run: pnpm install | |
- run: sudo apt-get install -y expect | |
- run: pnpm playwright install --with-deps | |
- name: Run E2E tests | |
env: | |
NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }} | |
TERM: xterm # fix for tput | |
run: pnpm nx affected:e2e --verbose | |
- name: Run other tests | |
run: pnpm nx affected:test --verbose |