Add manual test files for block transformer with YAML and JS examples #347
Workflow file for this run
This file contains hidden or 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: Test | |
on: | |
push: | |
pull_request: | |
env: | |
FORCE_COLOR: 2 | |
jobs: | |
full: | |
name: Node.js 20 Full | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies block-parser | |
uses: bahmutov/npm-install@v1 | |
with: | |
working-directory: packages/block-parser | |
- name: Install dependencies core | |
uses: bahmutov/npm-install@v1 | |
with: | |
working-directory: packages/core | |
- name: Run tests | |
run: npm test | |
working-directory: packages/core | |
short: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
- 22 | |
name: Node.js ${{ matrix.node-version }} Quick | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies block-parser | |
uses: bahmutov/npm-install@v1 | |
with: | |
working-directory: packages/block-parser | |
- name: Install dependencies core | |
uses: bahmutov/npm-install@v1 | |
with: | |
working-directory: packages/core | |
- name: Run unit tests | |
run: npm test | |
working-directory: packages/core |