add submodule to upryzing assets repository #16
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: | |
branches: [main] | |
paths-ignore: | |
- ".github/**" | |
- "!.github/workflows/test.yml" | |
- ".vscode/**" | |
- "doc/**" | |
- ".gitignore" | |
- "LICENSE" | |
- "README" | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: pnpm/action-setup@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "pnpm" | |
- name: Install packages | |
run: pnpm install | |
- name: Build all dependencies | |
run: pnpm build:deps | |
- name: Run tests | |
run: pnpm test |